You can use the below mentioned variables while executing script using “profile.”:
| • | SMTP – For SMTP IP/Server |
| • | SMTP_USER – User configured for SMTP |
| • | SMTP_PASSWORD - Password configured for SMTP |
| • | FROMEMAIL – From email configured for SMTP |
| • | SMTP_PORT – Port for SMTP |
| • | QUEUEITEM_ID – Current Workflow Item’s identification number |
| • | WORKFLOWITEM_ID - Current workflow item's identification number (here the terminology used is different but the value obtained is same as QUEUEITEM_ID) |
| • | QUEUE_ID – Current Workflow Item’s queue identification number |
| • | WORKFLOW_ID - Current Workflow Item's workflow identification number |
| • | QUEUE_NAME – Current Workflow Item’s queue name |
| • | WORKFLOW_NAME - Current Workflow Item's workflow name |
| • | QUEUEITEM_FILENAME – Current Workflow Item’s file name |
| • | DOCUMENT_ID – Document identification number |
| • | USER – Current user’s name (i.e. domain\user) |
| • | CURRENT_STATE – Current state for the Workflow Item |
| • | CURRENT_STEP - Current step for the workflow item (here the terminology used is different but the value obtained is same as CURRENT_STATE) |
| • | PARENTID – Parent host record identification key for the associated document |
| • | DOCUMENT_TYPE – Current document’s document type name |
| • | TRANSACTION_TYPE – Current document’s transaction type name |
| • | MODULE – Current document’s module name |
| • | HOSTAPPLICATION – Current document’s host application name |
| • | USERS_GROUP – Current user's groups |
| • | HAS_BEEN_ASSOCIATED – If current document is associated to any Workflow Item this will be case sensitive checking i.e. True or False |
| • | IS_ASSOCIATED – If current document is associated to any Workflow Item this will be case insensitive checking |
| • | CUSTOMEVENT_NAME – Use customevent branch name in the pre script. |
| • | CURRENT_OWNER - This gives you the value of the current owner of the workflow item |
| • | PAPERSAVE_CONNECTION_STRING - This is used for connecting to PaperSave database |
| • | DAYS_IN_CURRENT_STEP_OWNER - No. of days the Workflow Item is in the Current Step or with the Current Owner. |
| • | DAYS_IN_CURRENT_STEP - No. of days the Workflow Item is in the Current Step. |
| • | Document_Created_By - Name of Workflow User who created the document. (specific to Workflow Forms) |