Skip to main content
November 28, 2022
Question

Show task in interface which matches the order Id criteria

  • November 28, 2022
  • 3 replies
  • 0 views

Hi All,

I was trying to show tasks related to the order  in that order details interface, I was trying to write code but most of the time it comes half baked.

I would like your help in this case. I understand I need to use looping, indexing and if condition to get this done , But I was not able to get the correct form of logic.  If any sample code is available for this scenario is very helpful for me to understand.

Thanks in Advance

for example(The desired outcome), below for an order it is showing approval task related to that order:

3 replies

stefanhelzle0001
Brainy
November 28, 2022

The interface recipes page in the documentation has plenty of examples.

https://docs.appian.com/suite/help/22.4/SAIL_Recipes.html

To restrict tasks to a specific order, add the order id as a column in the process report. Then add a query filter to the queryProcessAnalytics call.

November 28, 2022

Hi,

Thanks for the help, I totally forgot about queryfilter [emoticon:98f842990f454422aa6a04953955f9d9] and was manually writing loops and indexing.

You made my learning easier[emoticon:44a8a53ad3364ea78a16c5a3229f75bb].

amaliao1614
November 28, 2022

Good Question sir