I am currently working on an application that allows the creation of a case type with stages and steps from a JSON file. Could someone provide me with some guidance on the types of activities to use for setting up this process?
@OussamaO6 To create a case type with stages and steps, you would typically use the ‘Case Designer’ in Pega. However, if you’re looking to set this up from a JSON file, you would need to create a custom activity or data transform that parses the JSON file and creates the case type, stages, and steps accordingly. You can use the ‘Page-New’ method to create a new page for the case type, and the ‘Property-Set’ method to set the properties of the case type, stages, and steps based on the data in the JSON file. You would also need to use the ‘Obj-Save’ method to save the new case type. Please note that this is a high-level guidance and the actual implementation might require additional steps based on your specific requirements.
This is a GenAI-powered tool. All generated answers require validation against the provided references.
@OussamaO6 You can check the Activty: pzGenerateBlueprintCasetypes which is been used when we use blueprint to create caseType as the .blueprint file generated by pega is actually a JSON file