Agent is not getting started and throwing exception
I have a requirement to create case using agent activity.
I created a advanced agent that call an activity.
In that activity on first step i am setting pyTransactionID property, on second step i used createWorkPage method and on third step i used AddWork method. Then i unit tested this activity and case created successfully.
Then i started the agent from SMA but it is not getting started and getting following error in error Info column:
I have a requirement to create case using agent activity.
I created a advanced agent that call an activity.
In that activity on first step i am setting pyTransactionID property, on second step i used createWorkPage method and on third step i used AddWork method. Then i unit tested this activity and case created successfully.
Then i started the agent from SMA but it is not getting started and getting following error in error Info column:
Exception at 20180708T131616.428 GMT: com.pega.pegarules.pub.clipboard.InvalidReferenceException: The reference <code block> is not valid. Reason: FUAInstance-NullMyStepPage at com.pegarules.generated.activity.ra_action_createcases_160d87c782f5273893817761c68385ae.step1_circum0(ra_action_createcases_160d87c782f5273893817761c68385ae.java:217) at com.pegarules.generated.activity.ra_action_createcases_160d87c782f5273893817761c68385ae.perform(ra_action_createcases_160d87c782f5273893817761c68385ae.java:70) at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3597) at com.pega.pegarules.session.internal.async.agent.QueueProcessor.runActivity(QueueProcessor.java:786) at com.pega.pegarules.session.internal.async.agent.QueueProcessor.execute(QueueProcessor.java:655) at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:1055) at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1327) at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1075) at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:957) at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:761) at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:991) at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:532) at java.lang.Thread.run(Thread.java:745) |
Please help to resolve this.
Thanks in in advance.