Question
Lventur
IN
Last activity: 27 May 2022 3:55 EDT
How To Create Custom Smart Shape
Hello Team,
We are planning to create a reusable functionality process as a smart shape, so that wherever needed we can use the smart shape in flow for achieving the business easily..
We are not able to find any document (or) link which will show how to create custom smart shape in pega.
If anyone knows how to create custom smart shape, could you please share the steps (or) document..
Thanks In Advance..
***Edited by Moderator Marije to add Capability tags***
Hi @Gunasekaran_Baskaran,
We have the pyExtendedAPIs navigation rule available as an extension for the addition of custom smart shapes.
Where you need to add one item and include on-click actions as the run script with the below values.
Here, We need to pass our custom utility name in the place of svfCreatePDF,
2nd script details are function name "ViewerManager.executeAction" and value is script:{name:\\u0022addNode\\u0022,type:\\u0022Utility\\u0022,args:{apiName:\\u0022pzAttachContent\\u0022}}
This will add a custom smart shape to the flow.
Regards,
K Chandra Prakash.