Utilization of programming knowledge
"Script Step" is a kind of "automated Step" within a Business Process.These are Steps for automatically executing "program processing", such as, for example;
- with reference to "attendance time" and "leaving time" entered in the upstream process,
- automatically calculates "working time" ({leaving time} - {attendance time}).
What can be done?
Automatic processing performed on the Workflow platform is so-called "Server side processing".In other words, when an Issue flowing through a Business Process reaches the "Script step", data are automatically referenced and updated. All processing is executed while human beings are not aware or concerned.
The program code to be set there will be a configuration like;
- starting with "to reference business data",
- via "various arithmetic processing",
- end with "updating business data".
What kinds of "operations" are possible?
For example, in the case of "Questetra BPM Suite" which is a cloud based Workflow product, it is given the specification as "(*) capable of setting Server-side JavaScript (ECMA Script)". And the following operations are available.- Basic numerical data operation (four arithmetic operations, square root, exponent, round-off, random number...)
- Basic character string data manipulation (join, split, reshape, extract, replace, search ...)
- Basic date and time data operation (addition, subtraction, progress calculation, day of week judgement, Japanese calendar conversion ...)
- Generation and analysis of JSON data
- Generation and analysis of XML data
- Sending HTTP request (data GET, data POST, OAuth2 communication, Basic authentication ...)
- Send SMTP request (send email, attachment file generation, convert character code ...)
※ The details are HERE and THERE.
[Hours-worked report-Hours and minutes]