Configure attaching a workflow - HxGN SDx - Update 63 - Administration & Configuration

Administration and Configuration of HxGN SDx

Language
English
Product
HxGN SDx
Search by Category
Administration & Configuration
SmartPlant Foundation / SDx Version
10

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.