For an approval I'm trying to use separate actions 'create an approval' and 'wait for an approval'. In the end to get around the 30 day limit.
When I'm using a 'start and wait for an approval' everything is working fine. When I use the above mentioned separate actions and pass on Approval ID, it is not working. Not even when the actions are in the same flow directly after one another. I get the error message 'BadRequest. The request failed. Error code: 'ApprovalSubscriptionNotAllowed'. Error Message: 'Cannot wait on this approval in its current state.''. As if the approval is suddenly not active anymore. But how can that be?
Are there any settings I might have to change?
Solved! Go to Solution.
Here is the documentation for this error message
The documentation indicates that the approval has already completed. Can you verify that you selected the approval action immediately preceding the Wait for an approval in the Wait for an approval action generating the error? It is possible that you selected an approval action from earlier in your Flow.
Please post a screen shot of a Flow that has the issue that you describe along with a run showing the error.
The 'wait for an approval' goes wrong, either directly behind a 'create an approval', with a delay between them or when it's in a second flow.
Could it be that the Approval ID is stored somewhere where we (with the most basic license) cannot access it anymore?
create and wait > error
just create > ok, but will go wrong in second flow (wait)
one start and wait > ok
Here is the documentation for this error message
The documentation indicates that the approval has already completed. Can you verify that you selected the approval action immediately preceding the Wait for an approval in the Wait for an approval action generating the error? It is possible that you selected an approval action from earlier in your Flow.
Scott, you're on the right track. I had of course seen the documentation of the error message. There is a 'start and wait' before this one, but I assumed that's all finished when the 'create' starts. But obviously not. A delay of 5 minutes in between solves it. Otherwise, it seems like that earlier approval id is used. Even though it's an different approval.
Thanks.
User | Count |
---|---|
94 | |
48 | |
21 | |
19 | |
18 |
User | Count |
---|---|
137 | |
54 | |
42 | |
41 | |
30 |