diff --git a/steps/02_uipath_open_project.yml b/steps/02_uipath_open_project.yml index 36c1457..b2fffca 100644 --- a/steps/02_uipath_open_project.yml +++ b/steps/02_uipath_open_project.yml @@ -37,7 +37,7 @@ trigger: conditions: - conditionId: is_truthy params: - value: "${outputs.audit_logs.value.find(item => item.MethodName === 'UploadPackage' && item.DisplayName === 'Wilco' + user.repoName)?.length > 0}" + value: "${outputs.audit_logs.value.find(item => item.MethodName === 'UploadPackage' && item.DisplayName === 'Wilco1' + user.repoName)?.length > 0}" then: do: - actionId: bot_message diff --git a/steps/05_uipath_log_data.yml b/steps/05_uipath_log_data.yml index 5ebb6b9..9d294a9 100644 --- a/steps/05_uipath_log_data.yml +++ b/steps/05_uipath_log_data.yml @@ -35,11 +35,9 @@ trigger: Authorization: 'Bearer ${user.properties.uipath_accessToken}' if: conditions: - - conditionId: text_contains_strings + - conditionId: is_truthy params: - text: ${outputs.robot_logs.value.find(item => item.Message === "Lets do this Wilco!");} - strings: - - "Lets do this Wilco!" + value: "${outputs.robot_logs.value.find(item => item.Message === 'Lets do this Wilco!')?.length > 0}" then: do: - actionId: bot_message @@ -47,7 +45,6 @@ trigger: person: lucca messages: - text: "Lets do this! You managed to set everything up, print to console. Time to move to some advance things now." - - actionId: finish_step else: do: - actionId: bot_message