Skip to content

Commit

Permalink
another test
Browse files Browse the repository at this point in the history
  • Loading branch information
aloncarmel authored Dec 18, 2024
1 parent 1f96d68 commit d749a9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion steps/02_uipath_open_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 2 additions & 5 deletions steps/05_uipath_log_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,16 @@ 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
params:
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
Expand Down

0 comments on commit d749a9d

Please sign in to comment.