ServiceDesk

 View Only
  • 1.  Ruleset on Data Event returs error on action with Custom data

    Posted Jul 23, 2014 07:17 AM

    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:

    SD_ruleset01.png

     

    SD_ruleset02_0.png

    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):

    SD_ruleset03.png

    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?



  • 2.  RE: Ruleset on Data Event returs error on action with Custom data

    Broadcom Employee
    Posted Jul 23, 2014 04:12 PM

    This appears to be an issue with how the generator is defining the different actions made available in the ruleset. I'm doing some additional research to determine the full cause.



  • 3.  RE: Ruleset on Data Event returs error on action with Custom data

    Posted Aug 25, 2014 04:24 AM

    Any progress on this problem?
     



  • 4.  RE: Ruleset on Data Event returs error on action with Custom data

    Broadcom Employee
    Posted Aug 26, 2014 09:15 AM

    Callander,

    Our development team has reviewed the issue and we are expecting a fix for the issue by the end of the week if everything goes well. As soon as the fix is available I'll post again with another update.



  • 5.  RE: Ruleset on Data Event returs error on action with Custom data

    Broadcom Employee
    Posted Sep 09, 2014 12:36 PM

    Callander,

    The fix for this issue will be available shortly in KB article TECH212326. I'm currently in the process of getting the article updated.

    Note the fix requires an updated build of Workflow, along with the updated Symantec.ServiceDesk.Im.Automation.dll.