07-18-2022 12:44 PM
How to Find the length of Collect digits and Substring functions in WCC Flow Editor
Solved! Go to Solution.
07-18-2022 01:37 PM
07-18-2022 02:21 PM
Hi Phani for the date time manipulation you can use the DateTime data type
This video may help you with working with time of day in flow:
https://app.vidcast.io/share/7823992c-68b8-46be-9c3d-15ac3476f1d3
Some other resources:
For Pebble methods etc - you can refer the official documentation: https://pebbletemplates.io/
There is an unofficial Pebble Parser app that is a cold start (it is hosted for free, takes 30 seconds to start)
Pebble parser learning App - https://pebble-parser.herokuapp.com/
To learn more on how to use it go to Info > About
It throws the full stack trace for debugging so is easier to debug while manipulating data inside flow.
Thanks & Regards,
Arunabh.
08-01-2022 08:58 AM
Hi Arunabh,
i am trying to access the length of the json array response(like number of Transactions) with json path expression "$.length" but, it is not working in the parse element of webex flow designer. We are taking the https json response to variable and taking the length.But its not getting the length.
Help appreciated.
08-01-2022 09:57 AM
For some reason Parse element is not working. trying to access the data out of JSON response.
08-01-2022 03:00 PM
The JSON path expression which is gtting $.lenght same function is not working in WCC parse element.
07-18-2022 01:37 PM
07-18-2022 01:43 PM
Thank you!, is there a document for all the Java script functions , Like Compare, We also have a requirement to compare and convert the date format from MMDDYY to YYYYMMDD, since the date comes from webservices as YYYYMMDD.
07-18-2022 02:21 PM
Hi Phani for the date time manipulation you can use the DateTime data type
This video may help you with working with time of day in flow:
https://app.vidcast.io/share/7823992c-68b8-46be-9c3d-15ac3476f1d3
Some other resources:
For Pebble methods etc - you can refer the official documentation: https://pebbletemplates.io/
There is an unofficial Pebble Parser app that is a cold start (it is hosted for free, takes 30 seconds to start)
Pebble parser learning App - https://pebble-parser.herokuapp.com/
To learn more on how to use it go to Info > About
It throws the full stack trace for debugging so is easier to debug while manipulating data inside flow.
Thanks & Regards,
Arunabh.
08-11-2022 09:31 PM
Hi Arunabh,
How do i convert the date comes from API
07-22-2022 10:13 AM
Hi Anurab,
In flow designer Collect digits node , how do we set retries if no entry or no match.
Thanks,
Phani
07-22-2022 10:57 AM
08-20-2022 01:55 PM
Hi
I have written this below function in Setvariable. I could parse in PebbleParser and in SetVariable Expression as well. However when i assign to Variable i am getting synatx error. Getting "Variable value cannot contain spaces. double quotes and line breaks etc..." : Help me what wrong on this sysntax.
{% set k=k_str3 | replace({"Date(" : ""}) | replace({")" : ""}) %}{% set l=k |slice(0,k.length()-5) %}
{{l | trim()}}
Date(1659589200000-0500)
Output : 1659589200000
08-01-2022 03:03 PM
Hi Arunabh,
i am trying to access the length of the json array response(like number of Transactions) with json path expression "$.length" but, it is not working in the parse element of webex flow designer. We are taking the https json response to variable and taking the length.But its not getting the length.
Help appreciated.
Thanks,
Phani.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide