Hi all,
I have a Case.
I have a Service and a case record has a link to a Service record through the field case_servicesid name Linked Service. Quite simple to understand but a little bit tricky to implement when dealing with inter-entity workflows automatisms...
I'm trying to update the Service.serv_activation_date when the Case record is closed (WorklowRule "Close ticket") with the case_activation_date value.
My problem is : the case_activation_date field is required only on the "Close ticket" transition screen, meaning that it must be filled only when the user clicks on the Save button in the Workflow transition to close the ticket.
Having said that, it seems that the Run stored procedure action triggered by my Close ticket rule is executed before saving all the fields values in the case record because my Service record which is updated receives an empty value for the serv_activation_date whereas it should receive the case_activation_date...
As a workaround I'm thinking about removing the Update Service set serv_activation_date = case_activation_date from my Stored procedure and adding another Execute SQL Statement action in my rule... But it means Run stored procedure is not adapted to my needs at all because this stored proc also adds a record in the ServiceProgress table...
Some advice would be appreciated here. My current version is 7.1.h
Thank you
Valerian