Configure attaching a workflow - SmartPlant Foundation - IM Update 46 - Help - Hexagon

SmartPlant Foundation Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)
Smart Review Version
2020 (15.0)

By default, the Run in asynchronous mode parameter on the AttWFlow method is set to NULL, which means that when you attach a single object to a workflow, the attach action is immediately processed synchronously, and you then must wait for the attach action to finish before you can perform other tasks. When you attach multiple objects to a workflow, the software creates the relationships asynchronously in the background, allowing you to continue working.

By changing the value of the Run in asynchronous mode parameter defined for the method you are using to attach workflows, you can change this behavior:

  • When you set the Run in asynchronous mode parameter to True, both single objects and multiple objects are attached to a workflow asynchronously in the background. This creates a notification object for each attach action so you can view the progress and continue working.

  • When you set the Run in asynchronous mode parameter to False, both single objects and multiple objects are attached to a workflow synchronously and you must wait for the attach process to finish before you can continue working.

  • As mentioned previously, when the Run in asynchronous mode parameter is set to NULL, single objects are processed synchronously, but multiple objects are processed asynchronously.