A new action was created in the expenses workflow, so that the user is be able to approve all expense items in a certain transition.
Figure 1 - Expense items approved.
- Set the role ExpenseSave in a user.
- Go to maintenance>document>expense and enter in the expense workflow.
- Inside the workflow enter in a transition and add the action ApproveItems.
- Create an expense
- Add expense items.
- Go to the transition which the action was added and verify that all expense items were automatically approved.