Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot update a custom field on a post transition function

Joan Andreu Juan Torrens
Contributor
April 15, 2021

I want a datetime custom field to be updated with current datetime on certain transitions.

I have created the custom field "Data efectiva lliurament"

Then in the workflow transition I have added the %%%%CURRENT_DATETIME%%%% value as shown in the picture.

postfunction.png

But when doing the transition of the issue... it fails.

error.png

Can someone help?

I have already checked that the custom field is available in this project.

1 answer

1 accepted

2 votes
Answer accepted
Walter Buggenhout
Community Champion
April 15, 2021

Hi @Joan Andreu Juan Torrens,

I don't know why this is happening, but you have too many %%%%%%%%%%%%%% signs there in your screen (definitely in the instructions too, so don't blame yourself).

Normally, this should work:

%%CURRENT_DATETIME%% 
Joan Andreu Juan Torrens
Contributor
April 15, 2021

So simple. And it worked. Thank you very much @Walter Buggenhout 

Like Walter Buggenhout likes this

Suggest an answer

Log in or Sign up to answer