FORM_DATA
IN parameter. In the case of a first action (when the form data is not available), FORM_DATA
should have a template XML file with the following format:FORM_DATA
(required)FORM_ARCHIVE
FORM_ARCHIVE
process data as a WorkflowGen parameter in order to capture all the field updates that occur during Remote Approval. The parameter direction must be OUT in order to return the updated archive content back to WorkflowGen.
FORM_ARCHIVE
is not defined in the Remote Approval action.FORM_ARCHIVE
is needed for EFORMASPX actions only.Qx_RETURN_FIELDNAME
Qx_RESULT_n
will be passed to the field name specified in this parameter.
_RETURN_FIELDNAME
.KEYWORDS_BRACKETS
Q1: [answer]
[
and ]
) are the default value if this parameter is not used. You can customize it by assigning different characters to enclose the answer. For example, you can set KEYWORDS_BRACKETS
to ##
for an answer format:
Q1: #answer#
USER_NAME_FORMAT
USER_NAME_FIELDNAME
is defined.
By default, the user’s full name will be in Firstname Lastname
format. You can customize the format by using the control characters L
and F
, for last name and first name, respectively. For example:F L
L, F
F (L)
USER_NAME_FIELDNAME
USER_FIRSTNAME_FIELDNAME
USER_LASTNAME_FIELDNAME
USER_TITLE_FIELDNAME
COMMENT_FIELDNAME
COMMENT_REQUIRED_RESULTS
Qx_RESULT_n
parameters. You can enter a comma-separated text string for this parameter to specify more than one result requiring a comment.
📌 Example:Q1_RESULT_2,Q2_RESULT_2,Q3_RESULT_1
1
and 2
(Q1
and Q2
) and the first answer of question 3 (Q3
) will require comments.
COMMENT
parameter in the action.COMMENT
parameter.QUICKAPPROVALMODE
QUICKAPPROVALMODE
parameter for an individual Remote Approval action in a process will override the global default setting.
Y
or N
.Yes
or No
). To do this, three main parameters are used:Qx_KEYWORDS_n
holds a list of possible keywords (comma-separated) for choice n
Qx_RESULT_n
holds the normalized answer for choice n
Qx_RETURN_FIELDNAME
specifies the web form field name that holds the final normalized answer for question x
.x
in these parameters represents the question number, and n
at the end represents the choice of answer. You can define as many keywords and results as you need.ok
to question 1 and bad
to question 2, the final normalized answers for questions 1 and 2 will be yes
and reject
, respectively.Qx_KEYWORDS_1=[0-9]
: [0-9]
is a keyword reserved for numeric type questions; you only need to use Qx_KEYWORDS_1
Qx_RETURN_FIELDNAME
: The web form field name that holds the retrieved answer)Qx_RETURN_FIELDNAME
(the web form field name that holds the retrieved answer).Q1_RETURN
that have been specified as action parameters will be ignored. Quick approval mode is enabled on the Remote Approval tab in the Configuration Panel (see Remote Approval).Qx:
where x
is the question number. As well, answers are enclosed in brackets to indicate the beginning and end of the answer. Similarly, COMMENT
has the same structure, except it is prefixed with the reserved word COMMENT:
.Thread-Index
) as registered for the associated request action in the WorkflowGen database.
#
(number sign)
WorkflowGen action ID prefixed by -
(hyphen)Authorization for expenditure required #1374-4
Authorization for expenditure required
is the email subject, 1374
is the request ID (prefixed by a number sign), and 4
is the action ID (prefixed by a hyphen).SUBJECT:
. The WorkflowGen request and action IDs can be appended to the subject line using the <WF_PROCESS_INST_ID>
and <WF_ACTIVITY_INST_ID>
WorkflowGen macros, respectively.<WF_PROCESS_INST_RELDATA_FILE.XXXXX>
XXXXX
process data will be appended to the email as an attachment. It will not be rendered as text in the body of the email. If multiple attachments are required, add this tag multiple times with the relevant process data name.SubmitToWorkflow()
is called in the previous action, in order to add the approval field to the archive page only.
\App_Data
folder. By default, the log is located in the WorkflowGen web folder DRIVE:\wwwroot\wfgen\App_Data\LogFiles\RemoteApproval\
.ApplicationDataPath
(defined in the web.config
file), the log files will be within the path specified in the config file. For example, if ApplicationDataPath
is set to \SERVER_B\App_Data\
, then the Remote Approval log files will be created in \SERVER_B\App_Data\LogFiles\RemoteApproval\
.YYYY-MM-DD.log
.tmp
folder, but the files might still be in use; in this case, the application will skip the removal of this file.RE:
that indicates it is a reply to a remote approval request. This email will be automatically removed from the server.COMMENT: [YYYYYY]
(or YYYYY
if Quick mode is enabled) in the email reply. The email will be automatically removed from the server.\ws
folder is enabled as an IIS application.