Hello - has anybody tried displaying sorted results using Notify action within a for loop? We are invoking notify within a for loop and passing it an employee list that is sorted by the last name. However the results displayed are not ordered. It seems like notifications are sent at random. Kindly share any insights / solutions if you have encountered this.
- for:
output_key: sent_notifications
each: employee
index: idx
in: data.merge_result.employees
steps:
- notify:
output_key: notification_result
recipient_id: meta_info.user.id
message:
RENDER():
args:
full_name: employee.full_name
country: employee.country
total_pending: employee.total_pending
preview_trainings: employee.preview_trainings
template: |
👤 **{{full_name}}** – {{country}}
🗒 **{{total_pending}} pending training(s)**
{{preview_trainings}}
Question
Displaying sorted results using notify action in a for loop
Sign up
Already have an account? Login
If you're a Moveworks customer, you can click the SSO button below to login-even if it's your first time. Everyone else can use email or click create an account above to register.
LOGIN WITH MYMOVEWORKS SSO PARTNERS WITH SSO LOGINor
Login to your Moveworks Community
No account yet? Create an account
If you're a Moveworks customer, you can click the SSO button below to login-even if it's your first time. Everyone else can use email or click create an account above to register.
LOGIN WITH MYMOVEWORKS SSO PARTNERS WITH SSO LOGINor
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.