I’m facing an issue with a Compound Action where the flow executes successfully until fetching the manager_record, but the notify step does not trigger. There are no errors in the logs, both employee_record and manager_record are not NULL, and the workflow does not explicitly fail or terminate. The execution simply stops after fetching the manager record, and I don’t see any logs beyond that point. For testing, I’m using a single static record via script, but in the actual use case, the data comes from an HTTP action, which is why a for loop is used. I’m also attaching a screenshot of the logs for reference.
Here is the exact Compound Action configuration:
steps:
- script:
code: |
return [{
"LOGON_NAME": "mw_test_user_5@company.com",
"EMAIL_ADDRESS": "mw_test_user_5@company.com",
"MANAGER": "manager-name",
"ACCOUNT_EXPIRY_DATE": "2026-02-26 00:00:00",
"DISPLAY_NAME": "mw_test_user_5",
"SAM_ACCOUNT_NAME": "mw_test_user_5"
}]
output_key: filtered_user_list
input_args:
unused_var: ignore_me
- for:
output_key: processed_expiring_users
each: UserObject
in: data.filtered_user_list
index: i
steps:
- action:
action_name: mw.get_user_by_email
output_key: employee_record
input_args:
user_email: UserObject.LOGON_NAME.$LOWERCASE()
- action:
action_name: mw.get_user_by_email
output_key: manager_record
input_args:
user_email: data.employee_record.user.manager_email.$LOWERCASE()
- notify:
output_key: manager_notification_result
recipient_id: data.manager_record.user.record_id
message:
RENDER():
args:
date: UserObject.ACCOUNT_EXPIRY_DATE
email: UserObject.EMAIL_ADDRESS
name: UserObject.SAM_ACCOUNT_NAME
template: "[TEST MODE] The Account for Contractor {{name}} ({{email}}) is set to expire on {{date}}..."
actions:
- key: renew_action
label: "'Renew Account'"
conversation_action:
conversation_process_name: Renew_account_conversational_process
input_args:
renewed_date: UserObject.ACCOUNT_EXPIRY_DATE.$PARSE_TIME('%Y-%m-%d %H:%M:%S').$ADD_DATE(0, 0, 90).$FORMAT_TIME('%Y-%m-%d %H:%M:%S')
requestor: data.employee_record.user.manager_email.$SPLIT("@")[0]
user_name: UserObject.SAM_ACCOUNT_NAME
- key: do_not_renew_action
label: "'Do Not Renew'"
conversation_action:
conversation_process_name: Delete_not_renew_User_Account
input_args:
username: UserObject.SAM_ACCOUNT_NAME
This same configuration was working fine 4 days back without any changes
