You need to sign in to do that
Don't have an account?
Davide Molinari
openCTI - screenPop not passing arguments to flow
Hi all,
I'm working with the OpenCTI library and I want to invoke a flow through screenPop() method.
I create a visualforce page for testing purpose and according to the developer guide I wrote the folloing snippet of code:
OpenCTI version: 43
Anyone can suggest?
Thanks
Davide
I'm working with the OpenCTI library and I want to invoke a flow through screenPop() method.
I create a visualforce page for testing purpose and according to the developer guide I wrote the folloing snippet of code:
function screenPopFlow() { date = '2018-08-21'; duration = 10,00; subject = 'Incoming call'; sforce.opencti.screenPop({ type: sforce.opencti.SCREENPOP_TYPE.FLOW, params: {flowDevName: 'ScreenDemo', flowArgs: [{ 'activityDate': date, 'duration': duration, 'subject': subject }]}, callback : screenPopCallback }); }It seems that flow does not receive any values:
OpenCTI version: 43
Anyone can suggest?
Thanks
Davide
- 'name': name of the variable
- 'type': type of the variable
- 'value': value of the variable
example --> [{'name': 'activityDate', 'type': 'Date', 'value': '2018-08-22'}]
All Answers
- 'name': name of the variable
- 'type': type of the variable
- 'value': value of the variable
example --> [{'name': 'activityDate', 'type': 'Date', 'value': '2018-08-22'}]