The WorkFlowAccept function is utilized to accept a workflow within the system.
Syntax:
WorkFlowAccept(Comments, AlertUser)
Argument Count: 2
Description: This function initiates the acceptance of a workflow.
Arguments:
Comments (string): Comments for accepting the workflow.
AlertUser (bool): Specifies whether to email the user upon executing this rule.
Example:
WorkFlowAccept(“Accepted”, true)
In this example, the function accepts the workflow with the comment “Accepted” and sends an email alert to the user.