Submit Attribute Set
Overview
The main document (Transaction) Submit Attribute Set is provided with the Standard Process and reference application. This attribute set and associated attributes cannot be deleted from a Commerce process. Attribute Sets and Array Sets are listed at the bottom of the Attribute Lists page
Name |
Variable Name |
Type |
Description |
---|---|---|---|
My Approval [Submit] |
approve_reject_icon_submit_t |
Text |
This attribute lists all approval currently pending for current logged in user. This is not available as rule input. |
Approval Status [Submit] |
approval_status_submit_t |
Text Area |
This attribute lists all currently pending active approvals for a transaction. |
Approval History [Submit] |
approval_history_submit_t |
Text Area |
This attribute records approval history of a transaction. If a reason is reset, it is erased from the approval history. |
Approval Revision [Submit] |
approval_revision_submit_t |
Integer |
This attribute tracks the number of times a quote has been revised |
Remote Approval Process Id [Submit] |
_remote_approval_id_submit_t |
Text |
This attribute stores the corresponding process id in the remote approval system |
Administration
Edit Submit Attribute Set Attributes
When you click the attribute set name, you can view the details of the individual attributes:
Notes
Order of Operations:
1. Sub-Document Modify tab of Update Line Item Action is evaluated
2. Update Line Item Validation is performed
3. Modify Tab of Standard Approval Action is evaluated
4. Advanced Modification of Standard Approval Action is evaluated
5. Advanced Validation of Standard Approval Action is performed
6. Recalculation of user side Reason approval tree is performed
7. Step Transition is performed
8. Save Reason Tree Info/Update Approval History/Updated Approval Status
- The first two operations are run only when the line item data has changed.
- The Modify Tab/Advanced Modification of the Submit action provide the values on which the tree calculation is based for the first time. If there are reasons to approve at the end of the Submit action, the Request for Approval action is automatically run and the tree is calculated based on the values derived from the modify tab/advanced modification of the Request for Approval action. Therefore, modify tab/advanced modification of Submit Actions should be the same as the modify tab/advanced modification of the Request for Approval action, especially for attributes that are used in the tree calculation (that is, attributes that are used in the reason condition or the next approver condition).
- Getreasonstatus() is updated (in most cases) at the end of all the operations, so it will not return the statues of a reason in the same pass. In general, getreasonstatus(except for reject)/approval history are updated at the end of the action so the updated history/status is not available in the same action that changes the status/history.
- Reset reasons are removed from approval history. However, approval history for a rejected reason is not reset before the Reset Reason tab is run. So, check Approval History for the status of a recently rejected reason in the Reset Reason tab, but remember that the rejected reason will be removed from the history right after Reset Reason
-
Approval attributes (e.g. submit comments, approve/reject comment, document link, current approver, next approver, current reason name, and current reason description) are updated after normal modifications occur in the Commerce action flow, therefore the updated values are not available to populate text or text area type attributes.
- Approval attributes are intended for use in approval notifications only and are populated dynamically when used in the advanced notifications.