Error While Calling GenerateID OOTB Activity

Hi,

I am creating one POC for self. I am trying to generate unique id using call GenerateID activity but I am getting below error.

This record has 1 error(s) in 1 place(s) .

Method—

Rule-Obj-Activity instance not found: CIGNA-CignaAuto-Data-SHID.GenerateID. Details: Invalid value for Activity name passed to ActivityAssembler

Note: Using personal edition 8.7

@AbhishekC1725 you don’t have to use GenerateID activity for it. You can reuse GenerateID function inside that activity to achieve this. Please find the below url for reference.

https://support.pega.com/discussion/how-get-next-auto-increment-id-pega

@Anoop Krishna Ok will try this.

@Anoop Krishna Hi,

I tried this it is working for me, just want to confirm that it will work fine without throwing any exception in future?

Or do we need to do anykind of exception handling before using this OOTB function in our application.

@AbhishekC1725 great, exception handling won’t be required for this scenario. Because we are just finding a new id for our instance, if we are saving or updating we would need exception handling.

@Anoop Krishna Yes, I saving this generated Id in pages of pagelist ,

Note:- Pagelist is directly available in pyWorkPage. And I am looping over that pagelist using Data transform and setting generated ID.

On click of button I called I saveing the pagelist to pyWorkPage,
Using action set

click and Add an action = Save

Note:- Page definition for my Pagelist is Abstract Class.

@AbhishekC1725 okay, for this scenario, exception handling is not required.

@Anoop Krishna Ok Thanks