Hi,
I created a script agent, a step and a macro in Customer Service Workspace to convert an email in a case.
I start with an email session and it will be my anchor tab.
I use a new form to fill fields and then save it. I create the case and I use three fields of data to create a lookup, for example:
- customerid: ${accountid}
- customeridtype: account
- customeridname: MyCompany
In a second step I would like to update the regardingobjectid field of the email in the same way, but it fails.
- Register Id: ${anchor.activityid}
- Entity name: email
- regardingobjectid: ${incidentid} (I use dynamic value from the previous save)
- regardingobjectidtype: incident
- regardingobjectidname: Case (I use odata to find the name)
It fails and I don't know why. I see the execution history of the macro and it says that the problem is the update register box, but it just shows data of fileds (GUIDs are correct), no explanation about the problem.
I changed dynamic value for odata slug, avoid to use customeridname, odata.bin format and I write data directly and the result is fail.
How can I update the regardingobjectid field in an email from a macro?
Thanks.