Workflow Creation
  • 24 Sep 2021
  • 10 Minutos para leer
  • Colaboradores
  • Oscuro
    Ligero

Workflow Creation

  • Oscuro
    Ligero

The content is currently unavailable in Spanish. You are viewing the default English version.
Resumen del artículo

Purpose


This article will provide detailed instructions on how to create, test, and publish Workflows under the Workflow tab of the Process Design Studio tool.

Workflow Information


Once inside the Workflow tab of the Process Design Studio Tool, and having clicked on the + New Workflow button, follow the instructions below for a correct Workflow creation.

Add your Workflow´s Name and Description. It can be associated with any of the Business Processes previously created. 

jCrdoTpMT-nbm3weXXneL19JYCcgqJ7W3g

This section can be hidden to provide more space  by clicking Hide Fields.

s-VBncsYS31CXTNT-9_I9KSJAkxds9cp_g

Actions


Actions are work commands that will interact with different sources within VisualVault and process information as a way of automating business processes. They are the main components of the Workflow's structure.

Each action added to the diagram is configured individually and accordingly to its purpose on the Workflow. 

  • To start configuring an Action, simply drag it from the Actions list on the left and drop it under the correspondent “+” connector of the diagram.

Qca7CcDQNOyMK5ZB5OFlcrhn_TzKxr3wVg

Variables


Variables are short templates that can be created with different data types and then used on various Actions.  They will only be available for Actions within the Workflow where they were created.  The Variables tab is on the left side of the screen, right after the Actions tab.

Ut4u2x3mufHMud_SlHXNqvDAXMB7ZqvwYQ

There are two kinds of Variables that can be created within a Workflow: WF Variables and Data Set Variables.

Workflow Variables


Single Variables can be used as a source of data for comparison and data fulfillment within the Workflow.

In order to create a WF Variable, click on the Add Variable button and select Workflow Variables option.

59RRHCRYFi1yX5sgenBq_Mw6z5_px7trrw

Add a name to your Variable, select the type of data it will contain, and finally add its value.  Leave the Value field empty if you intend to fulfill the Variable later with the execution of the Workflow.

IHliG_WpJC-TGqjB5N3bcfM7NXrmx8q2Fg

You can add as many Variables as needed by following the same steps.  A list will be created under the Variables tab and they can be removed by clicking on the trashcan icon on the right side of the item.

 Fu51Hj01936xgnjnzzyUOzKcQay7SDPxng

Data Set Variables


Group of Variables that will be later used as a source of data for comparison and data fulfillment within the Workflow.

In order to create a group of Variables, click on the Add Variable button and select Data Set Variables option.

esB6bovj-CxCZQai0hofqV5T89CiV4n3Tg

Add a name to your Data Set and click on Next.

dxA588tbmzeP4UuYROPVUBBA0WR7zmxITw

Name the Variable, select the type of data it will contain, and finally add its value.  Leave the Value field empty if you intend to fulfill the Variable later with the execution of the Workflow.

 

I-7x3X5qKQs0loTp3ptSVJOCm-eDLOb7Xw

You can add as many Variables to your Data Set as needed by following the same steps.  A list will be created Inside the Data Set item, and each variable can be removed or edited by clicking on the ellipsis button on the right side. Click Save.

Dp7p4qM-gh3k1EihhU75QpC2v7N903rgEA

Data Set Variables will be listed in the same tab as WF Variables. You can create multiple Data Sets and they can be accessed or deleted by clicking on the ellipsis button on the right side.

SD3l84iJ54e_rL9DTOwvyDhQ6LuOiXI4_g

Status Bar


The bar on the top of the page will show the status of the Workflow you are working on.

  • Draft/Published Version: This button will indicate whether you are working on a Draft Version of the Workflow or the Published one.  The Published Version option will only be available after the Workflow is published at least once. 

 l7IEfpD3KrWZ89XVcrosvOVH2fxJhRg1Mg

  • WF Version: The workflow version shows how many times a workflow has been published.

   di47N1iaujt02KhylMV70hz0R_VT3kd3KQ

  • Published: This field will show the date the Workflow was last published. 

  5BtsDgZVleYpLJJ17WzuPE0vwzh1FOPWZQ

  • Publish: This button will allow you to publish the Workflow either the first time or after any modification on an existing one. Workflows will only be able to function once they are published.  Drafts are not functional.

ROk7ANHCZ6cGvL8kGFkCQ182CBUXpG3_MQ

If the Workflow was properly set up, once you click on Publish, this message will pop up.

w-joT83jBCLo3adKkxYPpBqVlRHY9zgyoQ

If you would like to save the Draft instead of publishing it, click on Save, on the top right of the screen.

 5HXowJclhSg76Sx7Yj5FItncd5Ld5gArYw

The first time you save a Draft, this message will pop up.

V6ORT4atKKOfIDofmm-NqWcdKSlDM-V87Q

Every time you save a Draft on an already created or published WF, the message below will appear.

ehKsD_uNl0DkIJFmw57fPx7Tpx7pv53LyA


The dark bar on the left side of the screen contains access buttons for some Workflow functionalities as well as some customizable view options.

UhJQH1XwF_zc1vKccEDXSfQKEm6EMhEZ-g

 

Customizable View: On the bottom, there are zoom in and zoom out options, as well as a full-screen option to expand the diagram area.

 yLEcWT-Am9f2riXO8nSxh7dmELNDbOiCHw

Test Workflow


Only after the Workflow is published, it can be tested to make sure it works properly.  This cannot be done if the Workflow was created as a draft but not published.  In order to create a test, click on the Test Workflow icon.

 tTvSJZ1W2ryFA_Jliady5ZFnBc_Svz8q3w

Click on + Create Test Data.

cGMdx1YC15UXCY08lCG3yhl7LgAp0HY6LQ

Add a name to your test.

tZ01W4YHcQWOZLo5fWYnqdNFGazVGPd4Zw

The first tab will show all WF Variables available on the Workflow and their value in case any was added.

Y9RNLTgC7e8G_McryCfcY2Sc7cH1izL1gQ

If you would like to run your test using a different value on your WF Variable, click on the pencil icon to edit it

The Value box will open for editing.  Add the new information and click outside the box.  The new data will be saved only for the specific test you are creating, it will not modify the value on the original WF Variable established on the main Workflow creation page.  Go to the next tab if Data Set Variables are to be edited or click on Save for creating your test.

z1lW5aW2mb3bdWjlCE2CFlZV1JYspKSMwg

The second tab contains all the Data Set Variables available on the Workflow.  If you would like to revise any of the Data Sets for the test you are creating, click on the arrow to the right.

0icsYEMu7NTVRLjXNv5el_zigGHJO-DVfg

If you would like to modify or add a value to the Data Set, click on the pencil icon to the right.

YdhuelcE0PS9TM7BU-mwVK0KZIzbb3QKIw

More rows can be added to the Data Set by clicking on + New Row.  Each row is an instance that can be used as a source of data for a Loop action.  This action will read each line until it finds the information that will meet the Loop condition. 

Each line can be edited individually by clicking on the pencil icon to the right and then Save on the same line after the data was added.

ax7k7MXw1K0b5--b3wbFLcVHUs7f-_F2ug

Lines can be removed by selecting them on the left and clicking on Delete Row.  After finishing the Data Set Variables configuration for your test, click on Save.

ZYcZNDzgyB9gS1JNY58HNWEsw_ofc2IUAg

The successful test creation pop-up will appear and you will be redirected to the Test Data page after clicking OK.

O3ZrtRQfVPcfRIqEU8TZy8N_sW9er0SWhg 

 

Multiple Tests can be created by clicking on + Create Test Data and following the same steps.  In order to delete a test, select the item on the left and click on Delete Test Data.

ObggvIh9H9kkvbVbYU1ba_1DsFB7zUc9cg

 

In order to execute your test, select it on the left and click on Run Test.

LKViXrKxHr6Pp8iXFGwyvEHlK8JcQjnotA

A successfully ran message will appear.  Click on OK and proceed to check the result of the test on the Execution History tab.

WP7V90uqz61Y2iJ7vfZwhK4po09h3A3mXw

Executions History


In order to check the results of the tests ran and the executions performed on the Workflow, click on the Executions History icon.

 UJEGf_eaa3dhfJWQ9VCEDMXkr5wFeAvZdg

This page will show you all the performed tests with start and finish dates as well as the Version number of the Workflow.  If the list is too extensive you might prefer to use the date range search criteria in order to find specific tests.  This search option can be accessed by clicking on Show Date Range Filters +.

eSG1Xv6yeMVPZhs58aSIdrgQb2-BACUtug

Fill in the criteria and click on Search.

OHJdhoK4dCcVu4Xgm0J2SkGZ5AKYGTCFPQ

In order to access all the details from the test, click on the eye icon to the right.

WznWV0sEy5TdCMgo6hM8L30lBR6ytfOVdQ

The Workflow diagram will show the path taken in green.  Details about the configuration of each action, as well as the changes applied to the variables, will be available on the Step Properties window to the right.  This window is for information only.  Action’s properties cannot be modified within the test result.

kUu9e-rW6KDZ2qjpzXDpWnx02eKL_28ixQ

The red dot after WF Variables Values indicates at least one WF or Data Set variable has been modified by the execution of the Workflow.  Click on it to see the changes.

zYIiX1wDRlCJahCe9onNDVfTLJTzMZfKYg

You can change between WF Variables and Data Set Variables tabs to see the changes done on each type. 

The WF Variables tab will show the Initial and Final Values on the same page.

2hr6HHqr1NpO1h9dVSriK1hJNWY0UWXNmQ

For Data Set Variables, click on the eye icon.

 

ITIMuU68NlHCAN0ZuQVpxQrcsRGfOnDhpg

Change between Before and After tabs to see the changes on each instance.

QpUnjzS8UrRCKVk0qvHC_Sj7ZRBKboeVLg

Workflow Events


This is the space to configure which Event and conditions will automatically trigger the Workflow execution. Here you can also set the creation of WF variables based on the sources selected.

This setting is only available for Draft version, if the Workflow version you are working on is Published, then the creation button will be grayed out.

 

 C6nmCmUvj4BgtnQ7EQocaruvkHwsjUtNMA

Once the tab is accessed, click on + New Event.

6dr8dam7SRyZMutvhRbPi-EkT9mByn6lqg

Add your Workflow Event’s name and select the Event you would like to use as a trigger for the execution.

oOjU3EdAeGIAXSEkuyeRb2JXhTkOxlnaqg

Add a description if needed.  Once the Event Source is selected, all its details will be loaded on the page, however, they cannot be modified.  After the mandatory fields are completed, click on Next.

7dpQCJfITVi1KVsvbEFfdN0znuD1tvQplw

As described under Rule Builder, this step is meant to set the rules, based on the comparison of different sources, that will enable or not the initiation of the Workflow. In order to start building the comparisons, click on + New Row.

 

STLn2vFZdQaIKTenLE73lQuPgYm91SBB5g

Select the first source of the comparison.

2pT5BeogG2JgmNT6fstnJQK01APT4E9qEQ

  • Fields: Select any of the Event Fields
  • Predictive Analytics: Select any Endpoint result from a Data Model

Select the type of comparison you would like to apply between sources.

 vLwC-dZS8dhtujJ0Oryo-5LvLkLFsXubjw

The comparison options available on the drop-down list will be subjected to the type of data contained in the first field.

  • : Equal
  • <> : Not Equal
  • > : Greater Than
  • : Less Than
  • >= : Greater Than or Equal
  • <= : Less Than or Equal
  • Range
  • contains
  • notcontains
  • begins with
  • ends with

Select the second source of the comparison.

 d6k9sD2NMAqmMQIpxBvMx1q3oE9DmHIMSw

  • Value: Determine a specific value
  • Predictive Analytics: Select any Endpoint result from a Data Model
  • Event Field: Select any of the Event Fields
  • Data View Field: Select any of the Fields of a Data View

More comparison lines can be added by clicking on + New Row, and also deleted by selecting them on the left side of the item and clicking on Remove Selected. 

 d9ZyTFei-jCOuwbngxB-XhLOG_ExoDBVwQ

 

If you select incompatible fields for comparison, you will receive an error message on the top of the screen and won't be able to continue.  Make sure you select fields that contain the same kind of data. 

5TgTASJHCKAfHOmZBV8f3zfjW2q7jggaqw

Operators

 When more than one line of comparison is added, they can be separated with operators in order to indicate the server exactly what needs to be searched and compared, as well as in which order.

  • And: all comparisons, or sets of comparisons, followed by AND need to be TRUE in order for the query to be TRUE. 
  • Or: if at least one of the comparisons, or set of comparisons, followed by OR is TRUE, the query will be TRUE.
  • Parenthesis: are available in case you need to set priority between the different lines or set of lines. Once you open parenthesis at the beginning of a line, it needs to be closed at the end of the same line or at the end of the group of lines you would like to prioritize.73g3mJUUfEGPgJNm1KJ9ILm-lhdydK9u-g

 

The last step is not mandatory, but it allows you to map sources to fulfill WF Variables that can be then used inside the Workflow. Click on + New Row.

I-h7t7ySB5Z6O5Tw_9Lpuw4ENhD7tesy_A

Select the Data Source

 6iTIC8SUGAyXTFIoHoIa96TSyImtyGg2Gw

  • Event Message: Select any Event Field
  • Data View: Select any of the Fields of a Data View
  • Endpoint: Select any Endpoint result from a Data Model

Select the WF Variable that will be fulfilled with the data.

t-UE5JTukyRMHy4BLWDOvIS6jFx-8jX3Tg

The list is divided in:

  • Variables: WF Variables already created inside the Workflow you are working on.
  • Event Source Fields Variables: These are suggestions of Variables that can be created based on the fields of the Event you chose as a source for Workflow execution.

If there were no WF Variables previously created, or a new one needs to be added, and none of the suggestions of the list are useful, new WF Variables can be created by clicking on Edit Workflow Variables on the top of the screen.

 D79zrL99D_ghgCela-rE6HqVUZP8cFcxhA

Already created WF Variables, if any, will be listed and you can create a new one by clicking on + Add Variable.

nQWqcDIBQI2Nu1XyMUx4Zx-CE3_15kp9TQ

Create it as any other WF Variable and click on Save. You can create as many Variables as needed.

tDV2L01fPnZUccIUqIw19KJ3j1aH2pjbSw

Once the mapping is done, click on Create. You will be redirected to the Workflow Events page.

cpuxGStBDOJgYnAbiqCrs0Y8yl97FsQzkQ

 

Possible Errors at Publish & Save


If there is an action that has not been configured correctly or it has a mandatory field missing, this error message will appear when trying to publish. Even though it will not publish the Workflow, it will save it as a Draft.

3RzgcqepPPZGWM9c74AUg0aX3iVGY59TrQ

If you forgot to add the Finish action at the end of your Workflow diagram, this error message will appear. Simply click on Back and add the Finish.

y7dS_zLdBKEpuxNmx4OZU5EX7GsYWzc8hg



¿Te ha sido útil este artículo?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, que facilita el descubrimiento de conocimiento a través de la inteligencia conversacional