Can I configure different approval rules while adding, updating, or deleting document records?
Yes, the transaction type can be identified using the ATTRIBUTE3 property of the TRANSACTIONAPPROVALREQUEST payload.
For example:
TRANSACTIONAPPROVALREQUEST.ATTRIBUTE3 == "ADD"
TRANSACTIONAPPROVALREQUEST.ATTRIBUTE3 == "EDIT"
TRANSACTIONAPPROVALREQUEST.ATTRIBUTE3 == "DELETE"