Question

Queue method in an Activity shows severe warning

In order to improve efficiency for a client's application, we are using Queue method in an Activity. The child Activity writes some log. This way, the logging mechanism will not hold the main flow.

However, we are receiving a severe warning and hence our compliance score is being dinged.

Can someone please suggest what could be a good solution for the situation?

Thank you in advance.

***Edited by Moderator Marissa to update platform capability tags****

Comments

Keep up to date on this post and subscribe to comments

Pega
July 9, 2019 - 5:58pm

Does the queued activity require some parameters taken from the step page?  That is, when you expand the method parameters, do you see any parameters that are clearly referring to the step or primary page?  If you do, it won't work because for the reason stated in the guardrail warning.  Perhaps if you remove such a reference (do you have one?), the warning will go away.

Pega
July 10, 2019 - 10:25am
Response to coher

We do have some parameters to the Queue activity but there is no dependency on any Primary page or Step Page reference. These are just some string parameters where we pass some hard coded values. I also tried calling an activity with no parameters at all, but I still see the same severe guardrail warning.

Pega
July 10, 2019 - 12:03pm
Response to kapak

I spoke to my team, and the suggestion was to fill in the "justify" field in the warning.  You can just say "there is no problem here " (or anything else you wish) and that should remove the warning from your score.

Pega
July 11, 2019 - 4:16pm
Response to coher

Thank you for your response.