Genesys Engage on-premises

 View Only

Discussion Thread View

Update userdata from a custom command inserted in a chain

  • 1.  Update userdata from a custom command inserted in a chain

    Posted 11-19-2020 10:00
    Edited by Fernando Reyes 11-19-2020 10:00
    Hi everyone,

    I would like to update a user-data at some point after using the "send email" button in WDE.
    I need to consume a web service with the email body and update a user-data key with the response.
    I'm trying to put a custom command at any point of the InteractionEmailSend chain of command and I can't update user data impacting the interaction once it was sent. I can update CaseData view accessing using the ICaseDataViewModel object obtaining from CommandParameter the IInteractionEmail object and then ICaseDataViewModel from IDictionary interaction.UserData but this does not impact interaction if I check out URS logs or interaction history.

    What should I do to achieve that?

    Regards
    #Implementation
    #Omni-ChannelDesktop/UserInterface

    ------------------------------
    Lucas Penén
    Telefax S.A.
    ------------------------------


Need Help finding something?

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