Title: P-Card Transaction Approval Workflow
Overview
This workflow manages P-Card approvals at the transaction level. It's triggered by updates to the pc_stmt_dtl table, specifically entering when the transaction status is "VA" and the transaction is not yet approved.
-
Identity: PCARD_APPRT
-
Status: Active
Description
-
Designed for transaction-level P-Card approvals.
-
Cannot run concurrently with the PCARD_APPRG model.
-
Upon final approval, the approval flag is updated.
-
Rejected transactions' status changes to "NW"; might update to "RJ" following a system update.
Workflow Activities
-
Start:
-
Initiates the workflow process.
-
-
Activity A1: Approval 1
-
Person Responsible: _CREATOR
-
Description: First level of approval.
-
Process: Utilizes Bt50wf.TaskApprovals.
-
-
Activity A2: Approval 2
-
Person Responsible: _CREATOR
-
Description: Second approval stage.
-
Process: Continues task approvals.
-
-
Activity A3: Update Approval Flag
-
Person Responsible: _CREATOR
-
Description: Updates the approval flag to "Y" upon final approval.
-
Action: Executes table update.
-
-
Error Handling:
-
Handles errors within the workflow.
-
-
NotAccepted:
-
Processes rejected transactions, capturing and logging details.
-
-
A24: Email Notification
-
Sends an email if a transaction is rejected.
-
Includes rejection details.
-
-
A25: Set Transaction Status
-
Person Responsible: _CREATOR
-
Description: Updates status for rejected transactions.
-
Action: Sets transaction status to "RJ".
-
-
End:
-
Concludes the workflow process.
-
Transitions
-
Start to A1: Initiates on specific transaction status conditions.
-
A1 to A2 and A2 to A3: Leads through approval stages.
-
A24 to End: Completes after email notifications.
-
Error to End: Ends workflow upon errors.
-
NoTransition to End: Addresses scenarios where no valid transition is determined.