1.Functional Description
1.1Purpose
Convert the delimiter to a bar. This converted string can now be used as part of the key when doing a table lookup on the F98860 table.
1.2Setup Notes and Prerequisites
The key data in the process instance table is a bar-delimited string. It is impossible to store this
string in the process Attribute data structure because that data is also stored as a bar-delimited
string. For this reason, the KeyData must be stored in the Attribute data structure with a different
delimiter. If your KeyData is made up of a single string value, then you can place it directly into the
KeyData field in your Attribute data structure without any delimiters and when you call this function
leave the OldDelimiter parameter blank.
1.3Special Logic
2.Technical Specifications
2.1Parameters:
Data Item Data Structure DescriptionI/ORequiredNotes
ISTKEYKeyDataI/OYDelimited string
EV01OldDelimiterIstring delimiter
EV01NewDelimiterIassumed a bar ("|") if left blank
Processing:
If the value of NewDelimiter is blank, then set NewDelimiter = '|'
If the OldDelimiter is blank, then place a NewDelimiter character at the beginning and end of
KeyData.
If the OldDelimiter is not blank, then For each occurrence of the OldDelimiter in the KeyData,
replace that character with the NewDelimiter.
^
D9000090E - Convert Key Data Delimiter
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szKeyData | ISTKEY | char | REQ | BOTH |
The key data values associated with the workflow process instance. | ||||
cOldDelimiter | EV01 | char | REQ | INPUT |
An option that specifies the type of processing for an event. | ||||
cNewDelimiter | EV01 | char | REQ | INPUT |
An option that specifies the type of processing for an event. |
N9000090 Workflow System Functions |
None |