Using Entity Actions to Navigate or Redirect User Session
  • 01 Jul 2022
  • 2 Minutes to read
  • Dark
    Light
  This documentation version is deprecated, please click here for the latest version.

Using Entity Actions to Navigate or Redirect User Session

  • Dark
    Light

Article summary

Overview

Set up an Entity Action Flow with an End Form Session step. This example shows how the End Form Session step will navigate to a dashboard that displays information gathered from related information on a report.

Example

  1. First, create an Entity Data Type, a User Action from the Configuration Folder, and two separate Flows. This example assumes that the Report or Dashboard that the End Form Session step navigates to has already been created. Learn more about Creating Your First Report.
  2. To set up an Entity Action Flow, navigate to a Designer Folder. 
  3. Begin by selecting CREATE DATATYPES/INTEGRATION > User-Defined Types > Entity on the Actions Panel across the bottom of the Designer Studio.2018-05-31_112047.jpg
  4. Select User Defined Types > Entity > Create.

  5. Name the Entity structure and create the data names. 
  6. On the right side of the display box under Actions, check show Add With Data, Show Description on Add, Show Delete Action, Show Edit Action, and select Save.

  7. After saving the Entity Data Type navigate to the Designer Folder. 
  8. After saving the Entity Data Type the Entity and the Entity Configuration Folder can be seen in the Designer Folder.

  9. After selecting the Entity Configuration Folder, Create User Actions for the Flow. Select User Actions in the Action Panel across the bottom of the Designer Studio.

    Create-User-Action.jpg

  10. Name the User Action and select CREATE, this opens up a new Flow where the End Form Session step can be configured.

  11. Now create a new Flow in the Flow Designer. 
  12. Locate the Step Tab on the right panel.
  13. Under Forms select the End Form Session step, drag and drop the step into the Designer Studio.

  14. Select End Form Session 1 to Edit the step. 
  15. In the Properties Panel on the right under Options, select the drop down menu and choose Navigate. 
  16. Connect the pathways and exit the Flow Designer.

  17. Navigate to the desired Folder, URL, Page, or Dashboard that the End Session Form step will direct the User to. 
  18. Right-click and select Folder > Manage > Folder ID > (Copy ID). 
  19. Navigate back to the End Form Session step. Under Inputs, set the Folder Id to Constant and paste the Folder Id that was copied. 
  20. Now set Page Name to constant and name the Folder.

  21. Select the Folder Id and highlight and copy the Id number.

  22. Navigate back into the User Action Flow with the End Session step and set the Folder Id and Page Name to Constant and input the data.

  23. Now set up the User Action Flow.
  24. Navigate to the Designer Folder and Create a new Flow. 
  25. Inside the Flow Designer in the Steps Tab of the Properties panel, select User Defined Types > Entities > (Select Entity Flow) > Create.

  26. Drag and drop the Create step in the workspace and connect the pathways.

  27. Select the Create step and configure the settings in the Properties panel on the right. 
  28. Under Inputs and next to the Folder Id, change the value to Constant
  29. Select Pick to locate the desired Folder.
  30. Next to Item to Create, choose Build Data.

  31. Set name to Constant and name the Action.

Debugging

  1. Now that the Flow is complete, run the Flow. 
  2. Do this either by selecting Debug in the Flow Designer, or close the Flow Designer, right-click on the Flow, and select Run Flow. 

  3. After running the Action Flow, the User Action Entity will appear in the Designer Folder.

Was this article helpful?