I need a solution
Hi,
I have trouble with error messages for a Data Event. I have created a ruleset for a Data Event. The Data Event is suppose to change a custom created data field when a e-mail is sent. See images:
The ruleset executes, but the actions fails when trying to change the custom data:
Rule [1]: Action Failed: [Set Statuskoder.Status][To Specific Value(Stängt)]. Error: Unhandled Exception in RuleAction. -> Object of type 'Symantec.Workflow.RulesEngine.Events.RulesetArgs.EmailNotificationSentRulesetArgs' cannot be converted to type 'Statuskoder.IM.Status.IProfileRulesetArguments'.
It works fine in a process event (OnIncidentReceived):
Rule [3]: If [Any] Then [Set Statuskoder.Status][To Specific Value(Öppet)] :: The conditions were met. 1 Successful Action. Rule [3]: Action Succeeded: [Set Statuskoder.Status][To Specific Value(Öppet)]
The error message indicates that the variable is the wrong type when it is executed as a data event but it works fine as a process event. What is the difference and how can I fix it?