Workflows
Workflow Editor
29 min
the workflow editor enables users to create new workflows and modify existing workflows understanding the workflows table we can observe that each record represents a workflow each workflow contains the following name – the name of the workflow type – there are 3 types of workflows instant – a workflow that starts with the engini “button” trigger there is no external or scheduled trigger scheduled – scheduled workflow it’s a workflow that starts with the “schedule” trigger of engini this trigger enables the user to define specific time intervals in which the workflow starts to run automated a workflow that is triggered by external triggers created date – the date and time when the workflow was created created by – the user who created the workflow last run – the last date and time when the workflow ran connections if there are connections within the workflow, you will see them listed here for instance, in the workflow “salesforce won >priority,” you can see that there are two connections one for priority and one for salesforce status – here you can see if the workflow is activated if active, the color will be green; otherwise, it will be red edit workflow page there are three ways to open the workflow editor first way on the sidebar, click on the “workflows” option hover over the workflow you want to edit and click on the pencil right to workflow’s name second way on the sidebar, click on the “workflows” option click on the three dots on the right side of the workflow row in the table click on “edit” third way on the sidebar, click on the “workflows” option click on the name of the workflow you want to edit click on the pencil located on the top bar add activity engini activities represent individual steps in your workflow there are two types of activities available trigger – appears only one time in each workflow and always at the top the trigger is what initiates the workflow run action – there is no limit to the number of actions you can add to your workflow to add an action, follow the next steps if you want to add an action between two existing activities, hover over the arrow between the two actions and click on the plus icon that appears you can choose to add a sequential action that will appear before the lower of the two activities – click on “add an action” you can choose to add a parallel activity – click on “add as parallel branch” if you want to add an action after the last action you added, click on the “next step” button choose the engini software and click on the name of the action you want to use for more information on the types of actions for each software, see the https //app archbee com/public/preview ixqqblwfxopjg0nave78y/preview hgpucr55pwqvazc78lt3u delete activity click on the three dots on the right side of the activity click on the “delete” option in the warning window that pops up, click on the “accept & delete” button in case you sure you want to delete the activity in other case, click on the “cancel” button and the activity won’t be deleted copy to clipboard click on the three dots on the right side of the activity click on the “copy to clipboard” option in the next actions you add, you will have the option to paste the activity you copied by clicking on the activity as shown in the picture below rename activity click on the three dots on the right side of the activity click on the “rename” option the name field will be opened for editing, and you will be able to change the name of the activity when you finish editing the activity name, click outside of the input field and the name will be saved automatically note that if you won’t save the workflow the name change won’t take effect refresh the connection if you updated fields or objects in your software after the activity was created you can “refresh” the connection, and then you will be able to use the fields or objects you updated click on the three dots on the right side of the activity click on the “refresh” option configure run after you can set a activity to run after the previous neighboring activity has succeeded or failed the action will work only after the success or failure of the action before it by default, each activity is configured to run after previous neighboring activity has succeeded to change the default settings, do the following click on the three dots on the right side of the activity click on the “configure run after” option after clicking on the option, the display of the activity will change and you can define if you want the current activity to work only after the previous activity succeeded, failed or both of them click the “done” button to return the previous activity view configure context the context field is a field that can be populated at runtime this is a global variable in the workflow that you can populate in different activities throughout your workflow, and the value that will be displayed to the user is the last value that was populated in this variable the value received in the field can be seen in the history table and thus allow the user to easily identify which run history to open click on the three dots on the right side of the activity click on the “configure context” option after clicking on the option, the display of the activity will change and you can define the context click the “done” button to return the previous activity view dynamic connection enable use of several different connections within the same activity in the workflow, select an activity that includes the connections you want use click on the 3 dots on the right side of the activity choose ‘dynamic connection’ in ‘connections’ click on the empty field near the connection label select the relevant connections for this activity you can define conditions with https //app archbee com/public/preview ixqqblwfxopjg0nave78y/preview o3kkbgi5xnqf yvnuqkcv#ca 5p that will choose which connection to use in this activity finalize connection selection or cancel dynamic connection click “done” to save your selection click “cancel” if you don’t want to save your selection workflow edit top bar save when you’re done editing your workflow, click the save icon to save your progress the workflow isn’t saved automatically if you have unsaved edits and you try to leave the page, to restore previous version or to run a workflow, engini will display the unsaved changes dialog you can then choose from the following options discard changes to leave without saving save & continue to keep your new edits and proceed to the page you wanted to navigate to x to dismiss the dialog and remain on the page in addition, if you try to access another page without saving your changes in engini, the system will display the following message this is an extra layer of protection to ensure you don’t lose your work unintentionally you can choose to leave the page or remain on the engini page by clicking cancel restore previous versions of workflows over 45 days will be automatically removed if you want to restore to a previous version, follow the next steps click on the restore icon located at the top bar choose the version you want to restore click on “restore” button note in order to restore the workflow to the version you chose to display, you need to save the workflow using the save button on the top bar you can switch between versions freely as long as you haven’t saved the version you retrieved, you can always go back to the original workflow run run your workflow to ensure that all components are functioning correctly to learn how to run workflow click https //app archbee com/public/preview ixqqblwfxopjg0nave78y/preview dpcb7xk1knjjeh0x 70rc#kgaea using values from previous operations after you add an action, press on the text box to enter a value the pictures are for illustration only, it can be used in any activity choose the previous activity from which you want to take a value and press on the arrow next to it choose the value you want to use webhook metadata metadata can be useful for storing additional information about the object in a structured format if you would like to use the metadata of certain conector 1\ choose the action of the desired connector 2\ press on the arrow next to the “webhook metadata” 3 choose the the data you need url the address where the webhook expects to receive http requests, it’s where the data will be sent after trigger method the http method used for sending data to the webhook endpoint headers\[] http request headers contain additional information related to the request itself query parameters\[] key value pairs, where the key identifies the parameter and the value is the information associated with that parameter url parameters\[] the additional information appended to a url that is sent to a web server as part of an http request body the request body contains data that the client wants to send to the server workflow status a workflow in engini has two types of states active or inactive active workflows run when their trigger is activated and also when you run them manually by testing them you can switch between the two statuses whenever you want (active workflows can become inactive and vice versa), by clicking the on/off button in the top bar to save the workflow status you have to save the workflow you can also change the workflow status from the details page of the workflow or from the workflow’s table