0

Specific Question for the Amazon Connect CTI Managed Package (Specifically V5+ which introduces CTI Flows)

I am looking for an example of how to dereference a variable collected in a previous CTI Block, in a runApex (Which is OpenCTI runApex method):

The example given for parameters is:

name=acme&phone=(212) 555-5555

But I would like to say run a "Get Contact Attribute" in a CTI Block, and then pass the result to the APEX Method:

name=$.action.uid-12.results.value

I would also like to be able to locate the current users' ProfileId or UserId.

1
  • Hi @jordan.baucke did you manage to solve this issue? Commented Sep 2, 2021 at 1:55

1 Answer 1

1

I found a workaround. You can use Join Strings CTI block to join 2 string and then you can use the result of this block.

So lets say you are using Join Strings CTI block UID-10: 1 operand will be name= 2 operand will be $.action.uid-12.results.value. The result of this block will be name=value

And then in your Run Apex CTI block in methodParams you can use the value from your join Strings CTI block UID-10.

I hope this will help you.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .