Some code logo
Some code
HistoryCommunityDocumentationContact Us

Working With Workflows

Creating Workflow

To create new workflow click plus button, fill in all necessary fields and click ok button

Creating Workflow

Workflow screen overview

Login dialogue

The workflow consists of Actions and Design objects.

  1. Actions are executable objects
  2. Design objects are used for documenting workflows

Working with actions

  1. To add the action to the workflow drag and drop it from the actions list
  2. Click on action/object to select it
  3. Double-click to change action properties
  4. Or use right click

Working with actions

Every workflow has a starting Action (green thin line on the top left)
It might also have a default success Action (blue thin line on the top middle) and a default error Action (red thin line on the top right)
The number on the top represents the execution order. Thin brown lines at the bottom indicate the last action executed Small circle at top right is brake point

Joining the actions

  1. Select the action
  2. Click on the circle on the right and start dragging
  3. Release mouse on the right of target action

To remove the join repeat the process

Workflow Execution Toolbar

Working execution toolbar

Workflow Metadata Dialogue

Workflow dialogue

Workflow Parameters Dialogue

Workflow parameters

Note Workflow parameters are calculated as the first step of workflow execution

Every parameter has a name and a value There are three types of parameters

  1. Static
  2. EV variable
  3. Calculated

Once workflow is executed once the actual parameters values can be seen by clicking “Calculated parameters”

Debugging workflow execution

Workflow can be executed manually by clicking green arrow. It is also possible to execute individual actions by using context menu.

Action context menu

Deploy workflow

Deploy workflow dialogue is used for constantly running workflows.

Deploy workflow dialogue

It allows to control level of logging

Execution log dialogue

Execution log helps to debug workflow execution and investigate problems

Summary

Execution log summary

Details

Execution log summary

Sidebar Toolbar

Most of the toolbar actions are self explanatory so we will concentrate on not so obvious ones

  1. Show/hide toolbar
  2. Home
  3. Open workflow
  4. Add workflow
  5. Save workflow
  6. Save as workflow
  7. Delete workflow
  8. Undo
  9. Redo
  10. Publish workflow to the library
  11. Share workflow with users or groups
  12. Upload workflow from JSON file
  13. Download workflow as JSON file
  14. Edit workflow source
  15. Scheduler
  16. Currently running workflows
  17. Credentials
  18. Connections
  19. Actions
  20. File browser
  21. Feedback dialogue

Open workflow

Open workflow

Publish workflow to the library

This dialogue publishes workflow to the public library so it can be used by all users of Some code

Publish workflow

Share workflow

This dialogue allows the user to share workflow with other users or group

Share dialogue

Upload workflow from JSON file

Upload workflow from JSON file

Edit workflow source

Edit workflow source

Scheduler

List of scheduled packages

Currently running workflows

Currently running workflows

Credentials

Credentials

Connections

Connections

Difference between connection and credential

Connection defines list values the credential must have

For example

Database connection

  1. host name
  2. port
  3. database name
  4. user name
  5. password

Database credential

  1. host name = some-code
  2. port = 1534
  3. database name = sales
  4. user name = john
  5. password = fjwlfmw1

Actions

Action Library

File browser

File browser

File browses provides a connivent way of browsing file system files

Feedback dialogue

Feedback dialogue

Sends feedback to “Some code” developers. We welcome your suggestions to make our software better

F2: Execute Workflow
Crtrl+O: Open Workflow
Crtrl+L: Execution Log
Crtrl+P: Metadata
Alt+P: Parameters
Crtrl+S: Save package
Crtrl+Z: Undo
Crtrl+Y: Redo
Crtrl+A: Select all
Del: Delete selected
- Zoom In
+ Zoom Out
(Please click on the design area first)\

Dialogue boxes

ESC Go back/Close dialogue
Ctrl+S Save data\

Video Tutorial

19 July 2023

Back

Introduction

Download Some code

Linux 64 bit deb server Windows 64 Bit server Windows 64 Bit Desktop Windows 64 Bit Portable

Some code works on both Windows and Linux. Please contact us if you want to run Some code on a different OS. We will create a special build for you.