Genesys Engage on-premises

 View Only

Discussion Thread View
  • 1.  How to put data from variable to redirecting email subject? IRD

    Posted 05-24-2024 09:55

    Hello,
    I am trying to change email subject in IRD and then redirect that same email. Is it possible to use "Redirect Email properties" and put there variables? Or is there any other solution?

    Thanks


    #Unsure/Other

    ------------------------------
    Jakub Kabon
    Tietoevry Finland Oy
    ------------------------------


  • 2.  RE: How to put data from variable to redirecting email subject? IRD

    Posted 05-25-2024 06:45

    Hi. 

    I have a similar case. I change the subject and also add some info in front of the content of the mail. First I fetch the interaction content like this;

    This returns the variable vOut with the interaction content

    Then I set the new values

    vSubject=UData['Subject']

    vSubjectMod='Something else subject'

    vContent=Cat['This is added text',Char[13],Char[10],GetStringKey['InteractionContent.Text',vOut]]

    vContentHTML=StrReplace[GetStringKey['InteractionContent.StructuredText',vOut],'<p>Webform sent</p>',Cat['<p>This is added text'</p>',Char[10],Char[13],'<p>Webform sent</p>']]

    Then I change the userdata

    and update the interaction UCS Record

    And then I redirect the email

    I may do to much, but this works :)



    ------------------------------
    Erik Norheim
    DnB Bank ASA
    ------------------------------



  • 3.  RE: How to put data from variable to redirecting email subject? IRD

    Posted 05-29-2024 04:45

    Hi,
    Thanks, a little bit more complicated than the other idea but it worked too!



    ------------------------------
    Jakub Kabon
    Tietoevry Finland Oy
    ------------------------------



  • 4.  RE: How to put data from variable to redirecting email subject? IRD

    GENESYS
    Posted 05-28-2024 13:00

    Basically, it is sort of possible to use variables in "Redirect Email" request.
    Not completely sure will it be enough just to set subject in the request or some more extensive manipulations are needed (like in Erik's post).
    To use variables in places where IRD object "doesn't support" easiest way to do it use External Service objects which mimics the email request (and where variables can be used freely). For redirect email it is something like.



    ------------------------------
    Vitaliy Teryoshin
    Genesys - Employees
    ------------------------------



  • 5.  RE: How to put data from variable to redirecting email subject? IRD

    Posted 05-29-2024 04:46

    Hi,
    thanks a lot. This was the best solution for my issue and pretty easy too.



    ------------------------------
    Jakub Kabon
    Tietoevry Finland Oy
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources