Displaying Dynamic Applets in a Workflow

Workflows can invoke a dynamic applet as part of a process defined for a product application. This feature allows an application administrator to establish applet instances without requiring recompilation and redeployment of individual applets.

To integrate the dynamic applet in a workflow

  1. Create a subprocess based on the FINS Dynamic UI business object.

  2. Add a Dynamic UI Service business service step and invoke the Set View Name method described in the table in Displaying Dynamic Applets in a Workflow.

  3. (Optional) Add a second Dynamic UI Service business service step and invoke the AddRecord method described in the table in Displaying Dynamic Applets in a Workflow.

  4. Add a User Interact step to display the dynamic applet.

    1. For the view property of the User Interact step, enter the view template name defined in Step 2 of Example of Creating a Dynamic Applet with the Dynamic UI Business Service.

    2. For each button that might be clicked in the dynamic applet, add entries into the Next Steps list applet of the User Interact step, as described in the following table.

      Field Entry

      Branch Name

      Continue Button

      Type

      Condition

      Next Step

      End

      Event Object Type

      Applet

      Event

      InvokeMethod

      Event Object

      FINS Dynamic UI List Applet

      Subevent

      FrameEventMethodContinue

The Dynamic UI Service business service methods are described in the following table.

Method Description and Arguments

Set View Name

Input Arguments:

View Alias (Required): The view alias defined in Step 2 of Example of Creating a Dynamic Applet with the Dynamic UI Business Service.

AddRecord (Optional)

Overrides the default search specification value.

Input Arguments:

  • Business Component Name (Required): The name of the source business component.

  • Object ID (Required): The row ID of the business component.