How to Update OOTB property using Save-DataPage method in activity.

My scenario:

I want to update pxDeadLineTime on one of the Assign-WorkBasket instances. How can I achieve this using Sava-DataPage method in activity.

I can update this property using obj-save write now but it’s having a severe warning in activity.

@Pavan_S

Use Call Save instead of Obj-Save.

Save-DataPage takes the parameter as a data page name - it can be used if you have updated the date timestamp on your Savable data page.

Hi @RameshSangili

I will check that using call Save. In between you mean to say that the property I wanted to save to db should be available on the Savable Data Page if my use case needs Save-DataPage method?

@Pavan_S

You have set a savable data page in the Save-DataPage method and pass the key as the parameter of the Assign-WorkBasket instance that you want to save. Since you want to update an existing record, the source of the savable data page can be a lookup with the primary key as the parameter.

@Pavan_S For this use case you can better call the save and try to update the stamp time.