When saving a resource the request ID is returned on a successful save.
We have a situation where an exception is thrown because the save goes into an authorization workflow.
Save-Resource : Permission is required
The save still completes but the request ID is not returned.
Is there a way to capture the ID when an exception is thrown?
Follow up question for you Ryan: Save-Resource does not always return a value. Could you explain on when we can expect the Request ObjectID to be returned?
When saving a resource the request ID is returned on a successful save. We have a situation where an exception is thrown because the save goes into an authorization workflow. Save-Resource : Permission is required The save still completes but the request ID is not returned. Is there a way to capture the ID when an exception is thrown?