Flow designer is not working if records getting updated through Import Set/Transform Map

Abhi95
Mega Expert

Hi All,

 

Facing an issue in flow designer,

In flow, Tigger Condition is “Created or Updated”, on a custom table, the flow is getting attached for the records if we are updating any field manually,

But if the records are getting updated (for the same fields) through Import Set/Transform Map flow is not working..

 

Run Trigger  :  For every update

When to Run the Flow : Run for Both Interactive and Non-Interactive Sessions

                                            Run for any User

Any help would be appreciated...

1 ACCEPTED SOLUTION
3 REPLIES 3

Kristy Merriam
Administrator
Administrator

Check your Transform Map and make sure the 'Run business rules' box is checked.

https://docs.servicenow.com/bundle/tokyo-platform-administration/page/script/server-scripting/task/t...

rahulkollur
Tera Contributor

Hi @Kristy Merriam ,

 

Flow is not  triggering if manual import into the higher environments.

 

Could you please suggest any workaround

 

Thanks

PadmeshD
Tera Contributor

Hi @Abhi95 ,

Use Create Code snippet on flow designer for generation of code snippet as shown below.

PadmeshD_0-1734521266394.png

 

Snippet:

PadmeshD_1-1734521409725.png

This snippet will come pre-configured with the inputs defined by your flow or subflow or action. You can then call it within an onBefore or onAfter transform script.

To implement this, simply create a new Transform Script within your transform map.

PadmeshD_2-1734521631789.png