Trigger an Activity to Happen on Initial Assignment
  • Updated on 25 Jul 2014
  • 3 minutes to read
  • Print
  • Dark
    Light

Trigger an Activity to Happen on Initial Assignment

  • Print
  • Dark
    Light

When a task is initially assigned, the default behaviors of the portal is to (1) send a popup notification to the assignee(s) and (2) send an email containing the task name, description, and link. Additionally it is possible to design any action that will be triggered via flow when the assignment is being assigned.

Example
In this Example we will notify the administrator that a assignment was created. To do it we are going to create a simple Notification Flow that will be triggered on an initial assignment.

First, we need to create a Trigger Flow that will perform specific actions that we want.
Navigate to a  Designer Folder and click Create Flow .
2017-12-28_135203.png

Name the Flow and click Create .
2017-12-28_135409.png

When the Flow Designer opens we need to add some Input Data that will be used as a  URL Parameter in the Form Assignment Flow . We navigate to the  Flow Input Data box and click Add New .
2017-12-28_135427.png

In the popup window we name our Input Data and pick a String Type . We click OK to save and close this popup window.
2017-12-28_135528.png

Next we select the  Send Notification Step from All Steps [Catalog] > Communication category from the Flow Designer 's quick add window. Click Add to add it to the workspace.
2017-12-28_135655-1024x768.png

We connect this step to the End step of our Flow .
2017-12-28_135725.png

Configure the  Send Notification step as follows:
2017-12-28_135916-1024x768.png

Next, save and close the flow. In the Designer Folder, click the  Create Flow button, name it and click Create to continue. This will be the main flow in our process.
2017-12-28_140148.png

We drag into our workspace the form that we want to assign and connect it to our Start and End steps.
ConnectedForm-1.png

In this example we use a simple User Information Form that is designed using 4  Text boxes and 4  Labels that specify what data these text boxes will store.
2017-12-28_141111.png

Next we assign our form in the Flow Designer by navigating to its Properties Panel . We select Assigned from the  Assignment Setup > Assignment Type drop down.
2017-12-28_141540.png

Also we need to add assignee(s). Go to  Assign > Assign to Users , and  Add New.
Once the account has been selected, click Done to save and close this popup window.
2017-12-28_141759.png

A new option,  Start, is available to us after assigning the form. Now we have the option to pick Show Flow To Run. This option is available for the External Form Step as well.
2017-12-28_142034.png

In the Show Flow To Run drop down menu we are given two options: SharedFlow and Private .
With the SharedFlow option selected we can receive and use parameters. These parameters are:
URL Parameter Name
Assignment ID Parameter
Step Tracking ID Parameter
Flow Tracking Parameter
By selecting Private we do not have access to those parameters. For this example we will select Shared Flow.
SharedFlow.png

We click the Flow picker. Pick our Action Trigger Flow that was created in the first step of this example and click OK to save and close this popup window.
2017-12-28_143753.png

We navigate to the  URL Parameter Name drop down and pick the Action String that was defined as Input Data for the  Send Notification Flow .
2017-12-28_143834.png

The flow is complete. Save the flow and close it. In the Designer Folder, right click the Test Triggered Action Flow and select Run Flow .
2017-12-28_143904.png

The  Assignment is created and our the notification that we configured earlier is displayed in the  Designer Studio.
2017-12-28_143920.png

If we logout and log back in, w e can see a new task exist in the  My Tasks folder.

Was this article helpful?