Studio

On the Studio tab, you see each intended environment in which a workflow runs:

  • Hosted — runs in Azure and provides the adhesive that links assignment types and backend systems.

  • Designer Client — runs in Designer XI and provides many hooks into various workflows in the app (first consumer of client-side workflows, very mature support)

  • Mobile Client — runs in ArcFM Mobile and provides the appropriate hooks to get the approval workflow initiated.


After you have migrated all your markup types to assignment types, guided by the Migrate to Dynamic Workflows topic, you can view each workflow, further modify one, and create a whole new workflow.

Graph

Building a workflow is performed by arranging stages of a workflow:

  • The graph is for visualization of a workflow.

  • C# code or Javascript can be used in key places to customize the code.

  • You can download workflow information and edit in a text editor.


Test Cases

Test Cases can be used to test a workflow without connecting to any services. If you started with a workflow from the Default Workflow Studio, it came with a variety of pre-written scenarios.

Click on a test case to highlight it in green. This populates the middle pane of the interface.

Notice there are four subtabs: Basics, Responses, Events, and Output Assertion. There is also a Draw Desired Path button and a Run Test button.

  • Draw Desired Path: Highlights the paths covered by the current test case.

  • Run Test: Iinitiates the current test case.

    TIP: If you want to run all test cases, click the Test All tool in the left-hand pane, above the list of test cases.

  • Basics: Provides high-level information about the test case, including Title, Initial State, and Nodes Visited.

  • Responses: Allows you to simulate the expected results from a web service call.

  • Events: Allows you to simulate expected service bus messages.

  • Output Assertion: After the test case is complete, this confirms an expected value in an object.

View Examples

You can use the examples included in the Workflows plugin, such as Fast Track and Custom Session Properties, to help quickly set up some workflows.
  1. Click the View Examples button on the Studio tab of the Workflows plugin.
  2. In the Examples dialog, click on the workflow example you want to use from the list on the left. In the graphic below, the Custom Session Properties example is selected.

  3. On the Graph tab in the middle pane of the Examples dialog, select all the code text and copy the code using the keyboard shortcut Ctrl+C.
  4. Close the Examples dialog then go back to the Studio tab and paste the code into the code textbox using the keyboard shortcut Ctrl+V.

    The workflow diagram on the right side of the window updates to show the workflow you pasted in.

    Before publishing your workflow, it's wise to review the example code you pasted to look for any variables that need to be updated to variables specific to your organization. For example, Custom Session Properties needs the name of the property that you stored on the session to match. The Fast Track example needs references to the workflowButtonKey to match the key of the button you created in on the Dynamic Workflow Buttons subtab on the Advanced tab in the Editor plugin.

QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries.

Was this helpful?