Creating and publishing a Workflow
The following procedure will show you how to create and publish a workflow. We will use an example of running a simple PAN number check and accepting users with a valid PAN number.
- Log in to the Prism application. For more information, see Logging in and logging out of Prism.
- From the left panel, select Workflows. The Workflow page appears.
- Click + Create Workflows. A new workflow titled
Untitled-ddmmxxxxxx
appears. - To change the title of the workflow, select the edit icon and change the name. For example, change the name from
Untitled-ddmmxxxxxx
toVerify PAN
. - To add a service, click the + sign succeeding the Input diagram. The Add Action dialog appears.
- In the Search Services search bar, search for the required service. For example,
pan profile
. - Select the service and it appears in the workflow.
- To add a tag, click the + sign succeeding the added service. Adding a tag gives us an indication if the service was successful in extracting the data.
- Clicking +, in the previous step, opens the Add Action dialog box. Select Tag. The New Tag dialog opens.
- Type a relevant tag name. For example,
PAN Verified
. - Click Create. The tag appears in the workflow.
- Double-click the added tag. The Condition panel appears at the bottom of the screen.
- Add the appropriate conditions using the AND Group or the OR Group.
- To continue our example of
Verify PAN
, complete the following steps for thePAN Verified
tag:- Select AND Group.
- Select the following values in the dropdown boxes:
Service
PAN profile
status
==
Static
OK
- Click + Add Condition and select the following values in the dropdown boxes:
And
Service
PAN profile
Is Aadhaar Linked
==
Static
true
- Click Save. A success message appears.
- Click the + sign next to the PAN verified tag. The Add Action dialog appears.
- Select End State. The Add an End state dialog appears.
- For Type, select the value
Accept
and click Create. The Accept end state appears in the workflow. - Double-click the Accept end state. The Condition panel appears at the bottom of the screen.
- Select AND Group.
- Select the following values in the dropdown boxes:
Tag
PAN verified
==
Static
ok
- Click Save. A success message appears.
- Click the + sign next to the Accept end state. The Add Action dialog appears.
- Select End State. The Add an End state dialog appears.
- For Type, select the value
Reject
and click Create. The Reject end state appears in the workflow. - Double-click the Reject end state. The Condition panel appears at the bottom of the screen.
- Select AND Group.
- Select the following values in the dropdown boxes:
Tag
PAN Verified
==
Static
failed
- Click Save. A success message appears.
- Click Save and Publish.
Updated 8 months ago