Can you read columns from a deleted record?

I think the obvious answer is no, but maybe someone can offer an alternative solution?

My use case:

I have a process with a signal start with a "record deleted" signal (shown in the image below). I would like for the process to read two columns from the deleted record and delete all other records that have those two columns in common. It's not working, trace data shows all 0s for the ids and I'm assuming its because the record is already deleted so it cannot read the columns of the record that started the process? Is that my issue?

 

I have another process (Related Dev Request Added) that starts when a record is added to a detail object that shows relation between two Change (Dev Request) records. For example if you add CR-1000 to a detail on the page of CR-1001, then another record is added by a process to show the inverse relationship (on the record page for CR-1000, the detail will show the relation to CR-1001 also). I want my process below to delete the inverse record that was created by the process if a user manually deletes one, that way the user doesn't have to know they should go and delete the other record on the other page. Since my process below doesn't work, is there an alternative solution anyone can think of?

 

Like 0

Like

2 comments

Hi, I have the same need.

If the process is triggered just BEFORE he record is actually deleted, It could be possible... but I am not sure...

An alternative is to use a "delete" button that actually does not delete the record, but triggers a process instead. This process then does all the cleanup needed, and eventually deletes the record...

Hello Mitch, 



Unfortunately, there is no possibility of using the information from the record deleted to trigger the business process signal.  

This is the known issue when the process created upon deleting some object cannot use the information from the deleted object in it's further elements in the flow.



However, If you want to have process triggered before the record deletion please check this community article: https://community.creatio.com/questions/deleting-process 



Kind regards,

Roman

 

Show all comments