System.InvalidOperationException: The stock decision 0 is invalid
Within this guide you are going to learn how you can handle the "The stock decision 0 is invalid" error.
Context
- A user ordered a software article
- The Provisioning - RootITUp Booking Processing workflow crashed with the exception "System.InvalidOperationException: The stock decision 0 is invalid"
Fix
The stock decision is made using the stock decision ticket. It prompts the assignee of the ticket during the closing for a stock decision. There are (currently) two valid options :
- faulty (=2)
triggers a purchase during provisioning - successful (=3)
software is reserved and no purchase is to be made
To resolve the issue the following steps are to be performed.
- Ensure the correct stock decision to be saved by closing the stock decision ticket again.
- After the workflow ran successfully search the journal for the following entry.
- Reanimate the crashed Provisioning - RootITUp Booking Processing workflow.