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