- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2024 08:27 AM
Hi Community,
I've created a flow that checks if a user is in an AD group and this is working fine, but what I wanted to do was to be able to post the results to the work notes of the incident but this bit is not working?
The flow looks like this:
After testing I see:
But when checking the incident all i see is:
Any idea on how I can achieve this?
Kind regards,
Alex
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2024 12:34 PM
Hi,
Thanks for sharing that! Ok, so yeah, that shows that the Answer pill is getting set to "false" (in this case), but when you're attempting to use it in the very next step, it's not showing anything.
This could be because:
- The flow is happening so fast that the "Answer" isn't fully updated in the flow and so the next step isn't getting a value
- Or...false in this case the system is interpreting it as "null" or "empty"...
So, you could try to maybe add a wait after step 3 and just set it to like 10 seconds, just to let everything sort of "catch up" and see if that fixes it, otherwise, you may want to consider using a Flow Variable and then setting that via a script with the value of the Answer from step 3.
Essentially, the main problem is that in step 4, when you're using the "Answer" from Step 3, it's acting like there's nothing there. So the two things I mentioned above could help make sure that it has a value of either true or false.
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 01:09 AM
So I've tried setting a flow variable and adding the answer to step 3 to that variable then trying to add that to the work notes of the incident, but that didn't work either:
Is this what you meant by setting the flow variable?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 01:46 AM
This is now working so I had to set the variable as true/false:
Then use the set flow variable:
Than add that to the work notes
Thanks for your helps on this issue 👍
Many thanks,
Alex