Closed
can we save the web form(screen flow) created as a temporary work object?
I have a web form which I am using for collecting data, which is a temporary work object, can this be saved?
This content is closed to future replies and is no longer being maintained or updated.
Links may no longer function. If you have a similar request, please write a new post.
I have a web form which I am using for collecting data, which is a temporary work object, can this be saved?
You can use the Persist Case smart shape (pxPersistCase activity) to convert a temporary case to a permanent object and save it in the database.
But will a case id created for that ?
Yes, a case ID will be created when the work object is persisted.
Hi Divya
Yes it will persist a case permanently. Use any of the below shapes where you want to persist a case in a flow
As per my knowledge First approach is the best, because before calling pxPersistCase acitivty it will check whether the case is temporary or not by using the value of pyTemporaryObject property. If pyTemporaryObject is true then case is temporary else case is permanent.
pyTemporaryObject (Property):
Temporary object; only lives on clipboard. Allows a work page to go through flow processing without performing any database operations
Thanks
Hi Divya,
Use Custom activity in "Utility" shape, in this custom activity call "pxPersistCase" activity when "pyTemporaryObject" property value is "true" else exit activity.
Above approach works for me.
Do revert back to me if you need any further help.
Regards,
Vinay Reddy
Question
Question Solved
Question
Question Solved
Question
Question
Question
Question
Question Solved
Question
Pega Collaboration Center has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.