Workflow for department change

Hi Team,
I want to create a workflow that trigger every time a user’s department is changed and was able to achieve it i was wondering can it be made specific to one source i.e. everytime a department value is changed for a user account for that specific source that workflow triggers?

Hi @DeepanshuBisht ,

Try this filter using “Identity Attribute Changed” trigger, $.changes[?(@.attribute == "department" && @.sourceName == 'name of your source')]

Thanks!

Hi @GOKUL_ANANTH_M,

Source name value does not exist in the Identity Attribute changed template.

In the following situation, Source account updated trigger would be a better trigger to access source name.

You can use Get Accounts using the id from Identity Attributes Changed trigger with a filter for the source name or id


And use Verify Data Type with condition is Null

If true do nothing. If false, then do what you intend to do

Hi karthik,

Sure, will look at it once :blush:.

Thanks!