Jump to content

Recommended Posts

Posted

Hi

I have configured a task with a capture task field in it which works lovely.  I then want to export the value of this field to Custom Field Q.  I've tried 2 different ways neither of which seem to work for some reason. 

I tried setting the field ID for the capture task field to h_custom_q - didn't work

So I've now tried to use an update custom field node, pulling in the answer to the capture task field via a variable picker.  I've included and update timeline node purely to test if custom Q has been populated but it still comes back as blank. 

image.png.276d945b86df5be0354fac00459328c8.png  

 

image.png.0ede959f8815b9068ff07d1a589f790e.png 

the variable in this field is &[functions.getTaskAnswers("task-8e8b6c91").field_1]

The Timeline update is configured....

image.png.f32fc450f5f8adc98d2e3600db1ff083.png 

 

Its output is...

image.png.b8b1a11ef132ac0c2de5afc2b65dd3a9.png

 

Any ideas? Thanks

Sam

Posted

Assuming functions.getTaskAnswers("task-8e8b6c91").field_1 has a value then you need a Get Request Details before outputting to timeline to refresh the workflow context data (variable values) after the custom field update. Mind you, the workflow is not using the data directly from the database it has it's own "cache" system (so to speak) which needs to be refreshed (e.g. with a Get Request Details) if the underlying data is changed (e.g. a custom field on a request is updated)

  • Like 1
Posted

The same it true when sending an email with variables or External Approval; make sure you use a Get Details node just before the send.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...