Process flow settings are used to manage settings and behaviour for the process flow as a whole:
The ability to update some settings will vary, depending on the version status. For example, you can't add flow variables to a deployed version.
Process flow settings are summarised below.
1
Process flow name & description
The name displayed for this process flow throughout the system. Optionally, you can include a description.
2
Queue priority
If required, you can use this dropdown field to select the priority in which runs for this process flow are picked from your queue. Choose from:
Highest
. This job is picked from the queue before anything else. If more than one job is queued with this priority, the one queued first is picked.
High
. This job is picked from the queue AFTER any highest
priority jobs are cleared.
Regular
. This job is picked from the queue at the first opportunity AFTER any high
and highest
priority runs are cleared. This is the default setting.
Low
. This job is picked from the queue AFTER any regular
priority jobs are cleared.
Lowest
. This job is picked from the queue AFTER any low
priority jobs are cleared.
3
Enabled toggle button
4
Use queued time
Some process flow steps (connectors, filters, set variables, transforms, etc.) can be configured to use dynamic/relative dates, where the date is relative to the time that the variable is used in the process flow.
To prevent cases where filtered records are omitted because they were added between the time a flow was initialised and the time it left the queue to run, the use queued time process flow setting can be used. This allows you to choose whether any relative dates should be based on:
the time that the variable is reached in the flow (i.e the current time)
the time that the process flow was queued
This option defaults to true
for all new process flows.
Example
To find all records created in the last 2 hours, a relative date variable is configured as:
At 12:00 the process flow enters the queue. At this point, the value of this variable would be: 10:00
At 14:00 the process flow leaves the queue and runs. At this point, the value of this variable would be: 12:00
So:
With the use queued at time option set to ON
, we take the time the flow entered the queue as our base for the relative date variable, so we'd retrieve all records created after 10:00
.
With the use queued at time option set to OFF
, we take the current time as our base for the relative date variable, so we'd retrieve all records created after 12:00
.
5
Remove failed payloads
6
Production flow
If this option is toggled ON, Patchworks will receive alerts if a run fails for this flow, which may be analysed to understand trends and areas for future enhancements.
7
Labels
8
Email failure notifications
9
Deploy
10
Variables
11
Versions
All process flow run jobs are added to and, by default, are picked for processing when a slot becomes available - i.e. they have a regular
priority.
If your process includes a , note that any 'sub flows' do NOT inherit the queue priority from the 'calling' flow. You should set the priority for these as required.
Use this option to .
With the introduction of for process flow runs, all scheduled process flows are added to a queue when they are initialised. This means that the time a flow is initialised is not the same as the time the flow actually runs - sometimes the run will be almost instant, but in busier periods there may be some minutes between starting and running a flow.
Toggle this option on
if you want to remove payloads that would otherwise cause this flow to fail. This is useful if multiple payloads pass through a process flow (for example, if received data is paginated or batched via a shape) and one or more of these includes a data issue.
With this option switched on, the failed payload is removed and the flow continues. If the process flow completes successfully, its is set to partial success
.
Failed payloads can be viewed in , via the . These payloads can be downloaded from :
View and update associated with this process flow. You can remove an existing label, apply labels from the dropdown list, or create a new label.
Use the dropdown list to select a notification group to receive an .
Use this option to .
Define and then reference these values throughout the entire process flow.
All existing versions of a process flow are displayed. From here you can select any version to view the flow at that point in time. You can also choose to , and to .