There are many cases where generating strings is needed in the middle of a Business process, such as an initial password created by the IT department, or an Agreement ID by the Legal department. Methods of combining time information or serial number information should be considered if the generated strings must be unique. (Data assignment Step, Script Step)
1. Overview of the String Generation Mechanism
- a. Processing Business Data
- Process data which has been entered in an upstream Step and assign the result. (For example, customer name, application name, etc.) (M405)
- b. Formatting an Issue-specific ID
- Format and use a [Process ID] or [Process sequence number] that is unique to an Issue.
- c. Formatting the Start Time or the Elapsed Time
- Use the time that the Issue started or the current time obtained at an Intermediate Event after formatting them.
- d. Formatting the name of the operator or the department
- Use the name of the applicant or the approver, after formatting them.
- e. Generating a random string by script
- Generate a string using functions; for example, "Math.random()", and set it.
- For example, you can set a string such as "20150123-01" by combining the current date and [Process ID].
2. Overview of Practical Use of String Generation
- a. Generating a file name
- Generate a unique file name immediately before the [PDF Auto-generation Step].
- b. Generating a membership ID or an acceptance ID
- Issue acceptance numbers or incident numbers.
- c. Generating passwords
- Generate temporary passwords upon issuing accounts for internal systems.
- To ensure uniqueness, a technique to combine the unique [Process ID] in the workflow platform is effective.
R2272: Output of Strings via EL syntax
BPMN Icons: Update Data
Comments
0 comments
Please sign in to leave a comment.