That is the poblem it is a OOTB functionality, and only using a page remove will not help, because it will be saved on PRPC database tables, this is what we want to avoid, to not save this CustomerJourney(Embed-OMFON-CustomerJourney) into CustomerInteractionHistory(n) (Embed-OMFON-CustomerJourney). Somewhere is the code that save the content of CustomerJourney(Embed-OMFON-CustomerJourney) into the database, this is what we need to avoid. Any help?
Posted: 5 years ago
Posted: 19 May 2016 14:01 EDT
Mike Townsend (MikeTownsend_GCS)
Director, Software Solutions Engineering
Would setting pyTemporaryObject to true address your needs? It won't stop you from doing an obj-save of the object, which will persist it to the database, but it will tell the process engine not to persist it or to create assignments. Based on your initial comment, it looks like you're trying to avoid persisting an embedded page. If you save the object it's embedded on, it's going to be saved as part of the data structure. The only way to avoid that would be to move it to a top level page and completely out of the work object that's going to be saved. If that's being added by OOTB code, you'd need to customize the code (assuming it's possible) or intercept the update and remove the page before the save.