Hi
I have a simple approval flow :
Condition, if [Yes] do "Approval A", if [No] do "Approval B"
Works fine but then I want to run some logic after that (e.g if Outcome "Approval A" = approved do this, if Outcome "Approval B" = rejected do that)
but for some reason I can't find Outcome for "Approval B" in dynamic content ?
Solved! Go to Solution.
I've tried your formula and after saving and editing again it did resolve to a valid outcome (I mean the blue thingy)
But after testing I found the culprit, the "Approval B" step was not of the type (start and wait) 😞
Thanks for your quick reply!
Do you see any dynamic content from Approval B at all at that point in the flow? Are you sure you are within the path for the Approval B action?
I do
Not sure why it wouldn't show up then, but even if it doesn't you can still use it. If you insert the one from Approval A and hover over it you will see the JSON definition of that value. It will be something like
body('Approval_A')?['Outcome']
Just insert the same thing using the Expression tab in the dynamic content dialog, but use the name for the other approval. If the Approval is in scope it should work.
I've tried your formula and after saving and editing again it did resolve to a valid outcome (I mean the blue thingy)
But after testing I found the culprit, the "Approval B" step was not of the type (start and wait) 😞
Thanks for your quick reply!
That would do it too. No Outcome if its just a create approval.