Question
AreteansTech
AU
Last activity: 20 Nov 2016 16:57 EST
Create work cases via Agent Activity
Greetings!
I would like to know how to create a single work case via an agent activity.
Currently, I have created an agent activity in the relevant Work class. In the activity I have called the createWorkPage (defined a temp page of the relevant work class, and set this as the pyWorkPage param), AddWork and then the CommitWithErrorHandling activities with the temp page as the step page.
I validated the functionality of the activity by dry-running it. In this case the case is created without an issue. But I see no cases created by the agent.
The agent is of type standard. The agent shedule has "Bypass activity authentication" ticked, so there shouldn't be a problem there.
Please note that at this moment I have no SMA access, so tracing the agent is out of the question.
Is the method I used correct? Or am I doing something wrong?
Appreciate any feedback.
Cheers,
Lahiru.
Happy to say that I got it to work, thanks to you. Yes, I did change the type of the agent to "Advanced". Removed the AQM. Changed the access group of the agent activity to what's on my operator profile. Added "Require authentication to run" and added the relevant work class to the privilege classes.