Change Status field when other Service Request Fields are updated by the Primary Point of Contact
We have a requirement to change the Status to In Progress when the Primary Point of Contact updates the Service Request Details(Description box), Category and Attachments in the Service Request.
We tried to use the Object Workflow and using the Field updates action in it, and tried to use the below groovy code but the code doesn't work. Can you please help if any modifications can be done to below groovy code, it seems the usage of 'isAttributeChangedBy' doesn't work, let us know if some other keywords are required so that the groovy works.
if (isAttributeChanged('ProblemDescription') && isAttributeChanged('AttachmentEntityName') && isAttributeChanged('CategoryId') && isAttributeChanged('PrimaryContactPartyName') && isAttributeChangedBy('PrimaryContactPartyName'))