This article explains how a scenario executes and how data flows through it. It also explains where you can find information about your processed data and how to read it.
You must have the following access to use the functionality in this article:
Adobe Workfront plan* | Pro or higher |
Adobe Workfront license* | Plan, Work |
Adobe Workfront Fusion license** | Workfront Fusion for Work Automation and Integration Workfront Fusion for Work Automation |
Product | Your organization must purchase Adobe Workfront Fusion as well as Adobe Workfront to use functionality described in this article. |
To find out what plan, license type, or access you have, contact your Workfront administrator.
For information on Adobe Workfront Fusion licenses, see Adobe Workfront Fusion licenses.
After a scenario is set up correctly and activated, it executes according to its defined schedule.
As the scenario begins, the first module responds to an event it has been set to watch for. If it returns any bundles (data), they pass on to the next module and the scenario continues, passing the bundles through each successive module, one by one.
If the bundles process correctly throughout all of the modules, the scenario is marked as a success in the scenario detail area, as explained in Scenario details in Adobe Workfront Fusion.
Example: In a scenario that watches for incoming requests in Workfront and then converts them to Workfront projects, data would flow as follows.
The scenario’s first step, performed by the first module, is to watch for requests. Each request that comes in is considered one bundle. If the module runs without finding any bundles, the scenario ends after the first module.
If the first module returns a bundle, the bundle passes through the rest of the scenario. In this example, the rest of the scenario consists of the second and last module, which converts the request to a project.
?
Example: In a scenario that downloads documents from Adobe Workfront and sends them to a folder in Dropbox, data would flow as follows.
The scenario’s first step, performed by the first module, is to watch for bundles (documents). In this example, the module watches for bundles in Workfront. If it does not return a bundle, the scenario ends after the first module.
If a bundle is returned, the bundle passes through the rest of the scenario. In this example, the rest of the scenario consists of the second and last module, which uploads the bundle to the Dropbox folder.
If the first module returns multiple bundles, the first bundle is uploaded to Dropbox before the second bundle is uploaded. Then the second bundle uploads, then the third, and so on.
For each module, the bundle goes through a 4-step process before going on to the next module or reaching its final destination. The 4-step process is Initalization, Operation, Commit/Rollback, and Finalization. This is called transaction processing and it helps to explain how data was processed in a module.
Once a scenario run is complete, each module displays an icon showing the number of operations performed. You can click this icon to display the detailed information about the processed bundles, in the format described above. You can see which modules settings were used and which bundles were returned by which module.
A module received input information such as:
After processing, the module returned this output information:
The above information is captured for each bundle separately, as marked by the drop down boxes Operation 1 and Operation 2 in the image.
For more information on transaction processing see Scenario execution, cycles, and phases in Adobe Workfront Fusion.
An error might occur during the scenario run. For example, if you delete the Dropbox folder that you have set as the target folder in the module setting, the scenario terminates with an error message. For more information about how to handle errors, see Error processing in Adobe Workfront Fusion.