Steps to create your first workflow

Tags:

Updated:

3 minute read

Introduction

This section will guide you through workflow creation & configuration in simple steps.

By reading this section of the document an implementer would be able to design the workflow for an organization and will execute it from the web portal.

In Workflow diagram panel there are some Template Touchpoints provided. A user can use these touchpoints to manipulate the Touchpoint execution as per their requirement.

If you are new to Workflow, then go through the below steps to know more.

Pre-Requisites

  • You have to choose the project in which the user will be added.

  • For execution of workflow using cloud agent you need to have cloud to cloud connection, cloud agent and cloud supported app.

  • Now Choose two generic app for integration & workflow creation.

  • Before executing the workflow for app integration, you should have a valid order on Magento 2 this means it should have valid items, Business Partner, and Sales Order.

  • The connection should be done in the Cloud.

  • When designing workflows, you may come across Nodes and Elements, or you may like get some Usecase examples that would help you build a workflow. Visit this section Quickstart to get more highlights on Workflow Nodes and Links , Scheduling and Deploying a Workflow , Workflow Snapshots , Usecases etc.

Steps to workflow creation

  1. Logging in to the Portal, choose Workflows section under Account and a new page will open.

  2. Refer the steps Working with Workflow in APPSeCONNECT

  3. Choose one project.

  4. Go to Workflows section under Designer and a new page will open up.

    WorkflowPage

  5. On the upper right corner you will get the Create Workflow button. Click on it and the following page appears where you can create the new workflow

    CreateWorkflow

User needs to enter the Name and Description of the Workflow. The name needs to be provided in the top left corner of the Workflow Design page and is then saved and viewable in right side panel. The Description is required to provide in the properties section available at the Right side of the page.

  1. To start the workflow, Drag & Drop the Start node from the ITEMS section, on the blank/grid section.

    Start

  2. Click the (+) sign beside Templates section, a list will open. Now select General Touchpoint and then drag it to the grid/blank panel.

    AddTouchpoint

  3. You have to select a connection and a touchpoint from the drop-down list of Select Connection and Select Touchpoint. Now click OK button, to confirm.The following screen appears

    Masterdata-Add

  • Similarly, drag & drop more touchpoints to complete a cycle and generate different types of touchpoints.

Templates

  1. Drag in the general touchpoint to the workflow creation area
    Adding-Touchpoint
  2. Once you have provided the details, click OK. The touchpoint will be added. Also Add an ‘End’ node.
    StartEnd-Node
  3. Connect the Start Node with the starting point of the touchpoint. Also Connect the End node with the touchpoint.
    StartEnd-NodeConnected
  4. Click on Save. The workflow is now ready to be executed.
  5. After all the steps have been completed - Agent & Cloud Configuration, the workflow is ready to be run.
    Runbutton

NOTE - Initially the Run button will be in disabled state, you have to activate it following these steps: Go to the APPSeCONNECT -> Settings Panel -> Check the Activate box.

If the RUN button is still in disabled state, you can do Troubleshooting to execute the same.

  1. Now Run it and this will open another form.
    Workflow-Executed

  2. In the above screen, you can see each step of the operation. The circle segments of the nodes will change its color according to the operation

Protip Ongoing Operation= Yellow color
Successful Operation= Green color Failed Operation = Red color

Note: When designing workflows, you may come across Nodes and Elements, or you may like get some Usecase examples that would help you build a workflow. Visit this section Quickstart to get more highlights on Workflow Nodes and Links , Scheduling and Deploying a Workflow , Workflow Snapshots , Usecases etc.

Protip For execution of workflow using cloud agent you need to have cloud to cloud connection, cloud agent and cloud supported app.