Support Article

CPM Auto launch task script

SA-25678

Summary



Auto Launch configuration on intent not working.

Error Messages



Not Applicable


Steps to Reproduce

  1.  Configure an intent as auto launch on Startup (in the criteria tab) and use an intent when condition for auto launch. 
  2.  Launch an interaction.
  3.  It can be seen that the intent launches twice on launch of the interaction


Root Cause



There is a defect in Pegasystems’ code or rules.
The issue is found in the rule "CPMAutoLaunchTasks"

Resolution



The change needs to be done in the CPMAutoLaunchTasks rule and it is :

​"window.setTimeout(function(){autoLaunchTasks();},2000);"

 

Published July 15, 2016 - Updated July 31, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.