Approval activity is not being triggering approval notification for User selected on Catalogue form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2024 03:55 AM
Hi All,
We have created a workflow to trigger approval mail to the user selected on Catalogue item, but the approval mail being triggers for the user in Test instance, when its comes to Live environment approval activity is being passing however approval mail is not triggered and record(sysapproval_approver_list) is not getting created in system
Can anyone suggest, on this what could be the reason behind this...where it is triggering the notification to the user when selection is different options on form
attached screenshot of approval activity code, where it is causing issue with 10th line in code..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2024 06:25 AM
Are you triggering the notification in the workflow or is it triggered by the approval creation? Because if it's the last one, no record, means no notification.
For the record creation: did you check on the variables? Are these without any spelling issues? Do you have the variables filled on the form?
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2024 06:59 AM
Hi Mark,
Yes, we have a variable to fill the User record which is reference to User table, as shown in screenshot "superviser_user_id" is User id field of User selected in variable.
And approval notification is triggering from approval activity in workflow, and four variables showing in below screenshot code is User Id field values for different selection on form...
'superviser_user_id' is for particular selection on form, and as you said if it is last option...but the same configuration working in lower environment.
Thank you,
Anil

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2024 06:52 AM
Try adding toString() function and check once.
answer.push(current.variables.variable_name.toString());
Regards,
Musab