ByPass WorkFlow when record inserted through Import Set

Ratan B
Tera Contributor

Hi All,

We have a custom table and whenever the record is inserted one workflow will attached to it to create the Subtasks and to do other functions. When Inserting the data through transform map also this workflow is attaching and it is creating the subtasks. But the requirement is to ByPass the workflow for the records which are inserted through Transform Map. Kindly help me to achieve this.

Note : Run Business rule is checked, since some of the Business rules still need to run for the records which are inserted through Transform Map.

 

1 ACCEPTED SOLUTION

Maik Skoddow
Tera Patron
Tera Patron

Hi

disabling "Run Business rule" is the only way to prevent running Workflows while importing.

Or you create an additional custom field in your target table, which is filled during the import with any static value (for example, a "True/False" field is set to "true"). In your Workflow, the trigger condition could be extended to check whether that new field is set or not. That way you can distinguish between the two scenarios.

Kind regards
Maik

View solution in original post

1 REPLY 1

Maik Skoddow
Tera Patron
Tera Patron

Hi

disabling "Run Business rule" is the only way to prevent running Workflows while importing.

Or you create an additional custom field in your target table, which is filled during the import with any static value (for example, a "True/False" field is set to "true"). In your Workflow, the trigger condition could be extended to check whether that new field is set or not. That way you can distinguish between the two scenarios.

Kind regards
Maik