How to fetch entities in specific states

Hello,

I have a flow extension data type, and I have a report that is holding all of my data.

I want to fetch entities from my report that are in specific states, is there a way to do this?

Comments

  • Hey there, thanks for using the Decisions Community forum!


    This can be done through using the Run Report step, we actually have a video showcasing a similar question, you can find the video here https://www.youtube.com/watch?v=QYwArA1Phzw and the solution can be found between 1:26-16:00, this will walk you through the logic on how this is set up, and is a great example!


    Additionally, you can find the documentation on this step here:

    https://documentation.decisions.com/step-library/docs/run-report


    Be sure that when you're doing this, that your form is showing the specific field you want information from, in this case "State" would have to be added as a Data Field on the report.

    Regards,

    Levi | Decisions Support

  • Just a note to say that video shows how to use the Fetch Entities step (as well?) by setting setting the type as Folder and then specifying the specific holding folder you have used to store the extension in (assuming you have done that).

    If you're using a case entity you can also set that as the extension type and have access to all the extensions values as well. Seems that's not possible for Flow Extension.

    This seems like a more logical way of retrieving the objects.

  • Hey there Haim!

    Agreed, the way in which you can achieve this can be different for each use case.

    The information you provided is very helpful, this is most definitely an alternative way to achieve this!

    Thank you for continuing to use the Decisions Community Forum!

    Levi | Decisions Support

Sign In or Register to comment.