Skip to main content

Custom process input fields

Introduction

If your data for cases and events is split up into different input files, you use the Custom process app template.

If you want to create a new Custom process app, you must upload a dataset that contains the data to be used in the process app.

For each table, this must be a tsv (tab-separated) file or .csv (comma-separated) file that contains a column for each input field.

This section contains an overview of the input tables for Custom process. For each field, the name, the data type, and a short description are displayed. Apart from that, it is indicated whether the field is mandatory.

important

Table names and field names are case-sensitive. Always make sure that the field names (column headers) in your dataset match the field names (in English) in the following tables and that the file names match the table names.

Mandatory and optional fields

Your input data file can have different fields or different field names. However, some fields are mandatory, which means that the data must be available in your input data file for a correct working of the process app.

note

When a field is mandatory, it should not contain NULL values.

Field types

The following table describesthe different field types and their default format settings.

Field typeFormat
booleantrue, false, 1, 0
datetimeyyyy-mm-dd hh:mm:ss[.ms], where [.ms] is optional. Refer to the official Microsoft documentation if you want to change the date format.
doubleDecimal separator: . (dot) Thousand separator: none
textN/A
integerThousand separator: none

Cases

The Cases table contains the detailed information for the status, type, value and description for the related case.

NameData typeMandatory Y/NDescription
Case_IDtextYThe unique identifier of the case the event belongs to.
CasetextNA user-friendly name to identify the case.
Case_statustextNThe status of the case in the process. For example, open, closed, pending, approved, etc.
Case_typetextNThe categorization of the cases.
Case_valuedoubleNA monetary value related to the case.

Event_log

The Event_log table contains information on the activities executed in the process.

NameData typeMandatory Y/NDescription
ActivitytextYThe name of the event. This describes the step in the process.
Case_IDtextYThe unique identifier of the case the event belongs to.
Event_enddatetimeYThe timestamp associated with the end of executing the event.
Event_IDintegerY*The unique identifier of the event.
Automated**booleanNIndicates whether the event is manually executed or automated.
Event_detailtextNInformation related to the event.
Event_startdatetimeNThe timestamp associated with the start of executing the event.
TeamtextNThe team that executed the event.
UsertextNThe user who executed the event.

*) Event_ID is optional, but is mandatory if you want to use Due dates.

**) Automated is part of the input data. However, if you need to derive whether an event is automated or not, you need to customize this in the data transformations to create that logic based on the required information. It is recommended to do this in the Event_log.sql file. Locate the statement that contains ...as "Automated" and replace it, for example, with a statement as displayed in the following code example.

case when Event_log_base."User" = 'A' then pm_utils.to_boolean('true') else pm_utils.to_boolean('false') end as "Automated"
note

If your dataset contains events where Event_start occurs after Event_end, Event_start is automatically set to the Event_end date, as this would otherwise result in a negative cycle time. A warning message is displayed in the ingestion log.

Event_cost and Event_processing_time

Event_cost and Event_processing_time used to calculate Automation potential are not part of the input data. You can configure these fields in Data transformations using SQL statements. Check out Configuring fields for Automation potential for more information.

Tags

The Tags table contains fields for tags that are defined in your process. If you upload tags, the Tags dashboard will be enabled.

note

Tags is an optional table.

NameData typeMandatory Y/NDescription
Case_IDtextYThe unique identifier of the case the tag belongs to.
TagtextYA user-friendly name to identify the tag.
Tag_typetextNThe category to which the tag belongs to.

Due_dates

The Due_dates table contains fields for due dates that are defined in your process. If you upload due dates, the Due dates dashboard will be enabled.

note

Due_dates is an optional table.

NameData typeMandatory Y/NDescription
Event_IDintegerYThe unique identifier of the event the due date belongs to.
Due_datetextYThe name of the due date.
Actual_datedatetimeYThe actual moment the event associated with the due date happened.
Expected_datedatetimeYThe moment the event associated with the due date was expected to happen.