Pass email's subject property to process variable, maybe not formatted well

Certified Associate Developer

Hi everybody.

I have a process model that starts after a trigger from an email received.

When i save the subject of the mail, witht the mail's property "Subject", I pass the subject as a rule input for a expression rule.

Unfortunally, the rule doesen't work well, but if I pass the subject of the mail as a wired string, the expression rule works correctly.

I DON'T KNOW WHY.

I suppose it's something about the format of the subject passed from the mail, but I tried with functions like "touniformstring" but nothing.




In this last screen, there's the wrong result, but the subject(pv!oggetto) seems the same


  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to marco.basolu

    You need to be able to take a look inside the local variables of your expression rule, while it is triggered in the process model.

    So you could add the following code snippet in line 10:

    error(concat(
      "logetto:",
      local!logetto,
      ",",
      "polizza:",
      local!polizza,
      ...........
    ))

    This will trigger a process alert and the text you create in the error() call will show up in the process alerts tab when monitoring that instance.

Children