I am trying to work out how to add a post function to a transition to update a custom field I have created. The field is called type, and I want to add specific string to the field depending on what stage of the workflow it is in.
I can update standard fields very simply, but can't work out how to update my custom field.
Any ideas?