This command is used to raise an exception to the user. This command should only be used to absolutely stop a save from taking place.
If not setup as a message number it throws a database exception that displays the brief text in Operand 1 along with the stack trace of where it came from.
To have a clean message create a message in IMMS starting with WF such as WF-00001.
In this sample before an employee can apply for any postings, a phone number must be added to the profile. If no phone number is provided when the application is entered, it will not be created and the candidate will be issued an exception containing the value of the message in Operand 1 (on line 00200).
First step is to go to IMMS and create a new message. For our example well create one with the number WF-10001 and the message test of "Please Provide a contact number before applying".
Then on IMUC our sample Workflow usercalc would be added for WF_RAP and look like:
Line | CMD | OT | Operand 1 | OPER | OT | Operand2 | OT | Operand3 | If Goto | Else GoTo |
---|---|---|---|---|---|---|---|---|---|---|
00010 | LET | V | PHONE | EQNL | DB | RCA.PHONE_NUMBER | A | (999) 999-9999 | 00100 | |
00100 | IF | V | PHONE | EQ | A | (999) 999-9999 | 00200 | 99999 | ||
00200 | STOP | A | WF-10001 | 99999 | ||||||
99999 | EXIT |
Screen captures are meant to be indicative of the concept being presented and may not reflect the current screen design.
If you have any comments or questions please email the Wiki Editor
All content © High Line Corporation