Same scenario here. Any solution for this?
Thanks in advance.
Original Message:
Sent: 03-07-2024 08:46
From: Ismail Zniber
Subject: Retrieve Custom Attributes in the workflow - Predictive Engagement.
Hello Wagner,
Thank you for your response, but I'm not sure how I can retrieve a variable that I've set on the website code with an update data. Could you provide more details, please? that would be helpful.
Thanks
------------------------------
Ismail ZNIBER
Genesys Cloud Consultant, Mentat Conseil SAS
Original Message:
Sent: 03-07-2024 06:57
From: Wagner Filho
Subject: Retrieve Custom Attributes in the workflow - Predictive Engagement.
Hello Ismail,
I don't know the context of your application in detail, but you could try applying the solution below as well.
- From the Toolbox, expand the Data category and drag an Update Data action to the desired location in the task.
- In the Update Data workspace, add a meaningful name to describe the item.
- Click the Add update statement button and select JourneySegment.
- In the Variable Name field, type the label to identify the variable on tasks.
- In the Value To Assign field, click the Expression button and perform one of these steps:
- Add the expression inline.
- Click the Large Expression Editor button to open the Edit Expression Editor and build your expression.
- (Optional) To add another variable, click the Add update statement button.
https://help.mypurecloud.com/articles/add-a-journey-session-variable/#
Thanks.
------------------------------
WagnerFilho
Algar Tecnologia
Original Message:
Sent: 03-07-2024 05:01
From: Ismail Zniber
Subject: Retrieve Custom Attributes in the workflow - Predictive Engagement.
Hello Breno,
Actually, what I meant is that we don't have any conversation tied to the execution of this workflow. The idea isn't to set the participant data from the workflow, but rather from the website using the formula I mentioned in my initial message.
Thanks,
------------------------------
Ismail ZNIBER
Genesys Cloud Consultant, Mentat Conseil SAS
Original Message:
Sent: 03-04-2024 13:48
From: Breno Canyggia Ferreira Marreco
Subject: Retrieve Custom Attributes in the workflow - Predictive Engagement.
Hi Ismail, I don't know if fully understand, but I try...
For add attribute you use "Set conversation data", but for retrieving this data you need to use "Get conversation data" block in the workflow.
https://help.mypurecloud.com/articles/get-participant-data-action/
Att,
------------------------------
Breno Canyggia Ferreira Marreco
https://www.linkedin.com/in/brenocfm-40b62182/
Original Message:
Sent: 03-04-2024 05:57
From: Ismail Zniber
Subject: Retrieve Custom Attributes in the workflow - Predictive Engagement.
Hello,
I have a question regarding retrieving custom attributes that we set on the website using the formula :
Ex: Genesys("command", "Database.set", { messaging: { customAttributes: { NumABO: '12345' }}}.
When performing a mapping action from a segment to a web message, we can retrieve these attributes via Set Participant Data and consequently utilize them.
However, when mapping a segment to a workflow, no conversation is managed, and I'm unsure how to retrieve these participants that we need to utilize within the workflow, for example, for sending an email.
When I retrieve the session in the workflow using the following block :
I find two variables containing the attributes, but they are empty, and I'm unsure if these variables will meet my requirements or not.
Could you assist me with this matter?
Reagrds,
#ConversationalAI(Bots,AgentAssist,etc.)
#DigitalChannels
------------------------------
Ismail ZNIBER
Genesys Cloud Consultant, Mentat Conseil SAS
------------------------------