Post activity results in flow designer to work notes of incident

Alex Saager1
Tera Contributor

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:

AlexSaager1_0-1722266651595.png

After testing I see:

AlexSaager1_1-1722266756549.png

 

But when checking the incident all i see is:

AlexSaager1_2-1722266809057.png

 

Any idea on how I can achieve this?

 

Kind regards,

 

Alex

1 ACCEPTED SOLUTION

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:

  1. 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
  2. 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!

View solution in original post

6 REPLIES 6

Allen Andreas
Administrator
Administrator

Hi,

So that is showing you at runtime, there is no answer value, it's blank (not true or false).

You'd want to check action on step 3, and see what you're actually getting back (or not getting) and look into that first.


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hi @Allen Andreas 


So for step 3 I'm getting the correct answer (which I think is right) is that what you meant?

AlexSaager1_0-1722269565609.png

 

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:

  1. 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
  2. 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!

Hi @Allen Andreas 

 

So I did try adding a wait condition after step 3 even making it like 20 seconds but that did not work so I will look into your other suggestion of using a flow variable and setting that via a script.

 

I'll let you know how it goes.