Workflow

An overview of workflow step in application building process

Workflow is the step where you define the business process flow(from one step to the other) in a series of steps that need to be completed sequentially/parallel/conditionally as a tree structure to access the application.

For example: Let us take a leave application. In any organization, there can be 3 scenarios:

Scenario 1

Employee applies for leave and manager approves or rejects it. (Sequential Workflow)


Scenario 2

Employee reports to two different managers. If the employee applies for leave, both the managers should receive the leave request for approval. (Parallel Workflow)

MicrosoftTeams-image (20)

Scenario 3

Employee reports to two different managers. If the employee applies for leave, and based on a condition (Leave Type) the respective managers should get the leave request for approval. (Conditional Workflow)

Condition: If the employee applies for privileged leave then manager 1 should get the leave request for approval, and If the employee applies for complimentary leave then manager 2 should get the leave request for approval.

How to configure these workflows is explained below.

Create a Workflow

  • To create a workflow, click on the process step Start, and you will see a Settings icon attached to the process step.

  • Click on the Settings icon or anywhere on the workflow step or step action button, and you will see the Properties window popup on the right side of the page.

According to the solution (use case) that we are trying to automate, workflow can have different process steps that can be dedicated to Users/Roles. The users can take the appropriate action using the action buttons when the workflow reaches their respective step.

Note: The default workflow is same for every app that is newly created.  The workflow contains Start, Terminate as initial process steps, and a Submit action button. The initial Start process step is allocated to Any Users by default. Refer to the image above.

  • You can change the Properties of the Start step as needed.
  • Start by naming the step and then assign a role to the step.

To add any new process steps to the workflow, you need to delete the Terminate step first. You can add process steps without deleting the Terminate step, but deleting it would ease your process. 

Delete Terminate

  • Click on the Terminate in the workflow.
  • Two icons attached to Terminate will display on the screen, the right one is Settings, and the other is Delete. Click on the Delete icon.

  • A Confirmation pop-up would display on the screen, click YES to confirm.

  • Now, click on the Submit action button.
  • The action button's properties will pop-up on the right.

  • You will notice Four icons at the bottom of the Properties window.

  1. Sequential step: These steps are executed one after the other sequentially in the workflow.
  2. Conditional step: These steps execute based on a condition. If the condition is true, the steps will execute.
  3. Parallel Step: These steps will execute parallelly at the same time.
  4. Terminate window: This step terminates the workflow.

Note: To understand all the other properties of a Action Button, please search at the end of this article.

Sequential Workflow

  • Click on the Create Sequential Step icon to add a sequential step.

  • An additional process step will add below the Submit action button in the workflow.

  • Click on the Step 2 process step of the workflow to define its properties.

  • Change the name of the step in the Step Name text box in the properties.

  • Click on the Actor Type drop-down and select the Actor for the step.

  • You will see different Actor Types in the drop-down. i.e., Users, Roles, Initiator Manager, Initiator, Assignee, and App Data.
  • If you select users, the system will populate all the user email addresses present in that workspace.
  • All the user email addresses are visible in the below Actor drop-down, and you can select a user to whom you want to assign the responsibility of that particular process step.
  • The same process applies for Roles as well.
  • Initiator Manager: Manager of the user who initiated the process.
  • Initiator: The User who initiated the process.
  • Assignee: The user to whom the initiator assigns the next process step.
  • App Data: Email ID for users present in the application.

  • Select a user as an Actor.

Add Action Button

  • To add one more action button to a process Step, click on the process Step in the workflow and click on the + icon.

  • An additional action button, Button 3, will add to the process step.

Delete action Button

  • To delete a button that you added, click on the Delete icon of the button.

  • Click on the YES button to Confirm.

  • To define the action button properties, click on the action button.
  • Define the action button name in the Button Name text box.

  • You can see a Goto drop-down in the Properties It is to define the next step after this step (to Terminate or another step).

Add Terminate Step

  • To add the Terminate step to an action button, click on the action button to open its properties.
  • Click on the Terminate window icon.

  •  The Terminate step will add to the process step.

  • Similarly, you can select Terminate from Goto to drop down in the Properties of the second action button.

Note: Terminate step bubble will only be visible once when you terminate a process.

Delete a Step from the workflow

  • To delete any step in the workflow, click on the step that you want to delete.

  • Click on the Delete icon attached to the step.

  • Click on the Yes button in the confirmation pop-up to delete the step.

Conditional Workflow 

The conditional step in the workflow works based on a condition. If the given condition returns True, it executes the workflow steps for that condition.

Note: You can't create a condition for Grid elements/Subform elements.

  • Click on the Conditional step button in Start action button properties.

  • The conditional step will add below the submit action button.

  • Click on the Condition group 2 step.

  • A pop-up window will display on the screen in which you can define conditions for that conditional step in the workflow.

  • Provide a valid name for the condition in the Name text box.

  • Click on the Element drop-down, and select an element on which you want to create a condition.

  • You can add as many conditions as you want by clicking on the + icon button according to your requirements.

Note: Refer to the Business Rules step, Rule with single condition & Rule with multiple conditions for more details.

  • After defining the conditions, click on the Save button to save the conditions.

  • Click on the Condition group 3 step in the workflow to define its conditions and follow the same steps as you defined the conditions for Condition group 2 and click on the save button.

  • Click on the auto decision step for the first condition group.

  • A Properties window for the auto action step opens on the screen.

  • Define the properties, which is the same as defining the action button's properties while creating a sequential step in the workflow.

Note: Refer Create Sequential Step for more details.

Note: When you add a conditional step, platform will add only two conditional steps by default. If you want to add additional conditional step, follow the same process as adding a conditional step, i.e., click on the Action Button and select the conditional step, the third conditional step will add to the workflow.

Parallel Workflow

You can create a parallel workflow step to execute multiple tasks at the same time parallelly.

  • Click on the Submit action button and in its properties, select Parallel Workflow icon.

  • A parallel step adds below the start action button.

  • Define the properties for each Workflow step. 

  • You can manage the tasks and the elements aligned to the parallel step action through the section permissions to Add a Record in the application.
  • The final step triggers and executes it after completion of all the parallel tasks.
  • The final sequential step will initiate when all the parallel steps gets completed.

Properties of Workflow process step

Each step in the workflow has the properties, as given below.

Step Name-Text Box:

This field is to set a name for the workflow step.

Actor Type drop-down:

This field is to select the type of actor (i.e., User/Role/Initiator Manager/etc) for the workflow step.

Select Actor drop-down:

This field is to select the Actor, i.e., if you select the Actor Type as User then you will find email ids of all the users present in that workspace. If you select the Actor Type as Roles then you will find all the roles (HR, Manager, CEO, etc) present in that workspace. 

Task Message-Text box:

This field is to set a task message to the process step. This task message would display along with the task in the Tasks page, refer to the image below.

Auto Execute Type:

If you want any process step to get executed automatically without any manual intervention, use this property. There are 3 auto execute types:
    • None: Choose this option if you don't want the process step to auto execute.
    • Terminate: This option is to terminate the process step automatically.
    • Action: This option is to perform an action automatically.
      For Example: If an employee submits a leave request, the manager process step has two actions that the manager can perform, i.e., either approve or reject.

      With Action option, you can make the platform to perform either of the actions automatically. 
      When you select the Action option, platform will ask you to select the Action Button in the Auto Execute Action drop-down.

Due Date Type:

This field is to decide task's due date type for a process step. There are two due date types:

    •  Static: This option is set the task's deadline time in hours.
    • App Data: This option is to set the task's deadline time dynamically using a date field from the app.

Task Dead Line in Hours:

  • This field is to set the deadline time for process step's task. The task should be completed with in the give deadline time. 

Choose Assignee Manually:

  • Check this option if you want to manually assign the successive step's task to a user after completing a step. After completing the current process step, a Choose Next Step Assignee pop-up displays on the screen, you can select the user in this pop-up. 

For Example: In a scenario, where an employee wants to choose the manager manually to approve his/her leave application.

  • The pop-up has Select Assignee(s) field in it, which will show a list of users belong to that particular workspace.
  • You can select only one or more assignee.
  • Click on the Save button, so the task assigns to the selected assignee.

Enable Save as Draft-check box:

  • If you check Enable Save as Draft  for any workflow process step, the user will have an option to save the data as a draft that can be resumed later. 
  • The user will have a Save as Draft button along with the other action buttons in the app while adding record in the app to perform the task. 

  • Click on the Save As Draft button to save the data in drafts. 
  • To see the draft data, Go to User Profile > My Activities.

  • In My Activities page, navigate to Drafts section.

  • In Drafts page, select the Workspace and App, you will be able to see the draft data.

    Enable Step Action confirmation-check box:

    • Use this option, if you want the platform to ask for a confirmation before submitting a record in the app or completing the process step.

    • Click on the Yes button to go to the next step.

    Task SLAs

    This feature allows the users to communicate to the Quixy platform that it should perform certain activities like calculating the time to send the task escalations, reminders, perform auto execution, calculate deadline time and turnaround time only in business hours (Office working hours).

    You can configure this feature at app level (i.e., the  configuration will be applicable to all the workflow steps in the app) or workflow step level (i.e., the configuration will be applicable only to that particular workflow step) when creating an application in Quixy.

    You can choose the Task SLAs to be generated only in Business Hours (i.e., Employee working hours) or 24/7 (i.e., any time in a day and any day in a week).

    Learn more about Configuring Task SLAs

    • Click on the Next button after finishing the workflow process.

    Now, you will land on the Business Rules page, which the Fourth step in the application building process.