This action generates a Bill ID for an application so that the user can proceed with payment. It can be used in workflows where payment is required.
{
"actionType": "BILL_ID_GENERATION"
}
- Breaking Action: ✅ Yes, this is a breaking action because the workflow cannot proceed without successfully generating a Bill ID.
- Non-Breaking Action: ❌ No, it should not be marked as non-breaking. The transition to the next state depends on this action completing successfully.
-
Trigger
- This action is typically triggered during a workflow transition where a payment is required (e.g., after an application is submitted and approved).
-
Execution
- When executed, the system generates a unique Bill ID associated with the application.
- This Bill ID is then used in subsequent steps, such as displaying payment instructions to the user or sending notifications.
-
Dependencies
- Make sure that the application and service context exists before executing this action.
- The action may fail if the service does not support bill generation or if required payment details are missing.
-
Integration
- The Bill ID can be referenced in notifications or dynamic next steps.
- Example variable to use in templates:
${billId}
- Always configure this action as breaking to prevent workflow errors if the Bill ID is not generated.
- Optional: You can pair this with a notification action (non-breaking) to inform the applicant of the generated bill.
- This action does not generate a certificate; it only produces a unique identifier for payments.