I created a workflow that will trigger when an attribute value is changed. The workflow is getting triggered and also executing but the workflow do not send any emails.
I have a feeling I am doing something wrong in Get Identity action item.
Hi Rita,
Iâm guessing that youâre exiting the workflow at the âcompare stringsâ step. Your compare strings should target the trigger.changes.attribute field, but since youâre going for trigger.attributes, youâre likely having an empty preStale and then exiting the workflow.
If you only want the workflow to trigger when certain preStale strings are found, modify your trigger to be more specific. You can use the âadvancedâ setting. This will mean the workflow will only fire in the exact scenario you want, rather than any time preStale changes.
See a below example for a possible trigger filter: $.changes[?(@.attribute == \"preStale\" && @.newValue=='true')] .
then itâs problem with your workflow . When you send email from workflow you need to select send email action . WF doesnât give option to attach the email template.
As you said âThe workflow is going up to first GetIdenity and Ending.â and Iâm assuming that youâre sending the email to the manager.
It could be a problem with the get manager, maybe it returns an incorrect output that prevents the workflow from continuing
Use $.getIdentity.managerRef.id instead of $.getIdentity.attributes.manager ,before that check if the identity in test has an existing manager in ISC