Can you increment a value in a user field? | Community
Skip to main content

Can you increment a value in a user field?

  • September 23, 2017
  • 1 reply
  • 0 views

 

I have a user field and I need to increment the value via a trigger or automation.

Scenario:

User Field called "Value" which has a value of 1 in it

After an automation or trigger the value is set to 2 etc

Any help would be greatly appreciated.

This topic has been closed for replies.

1 reply

Joel11
  • September 28, 2017

Hi Chris

Unfortunately, triggers or automations in Zendesk are not good at incrementing or decrementing or doing any kind of numeric manipulation, really.  

You could work around the limitation by using a trigger that fires a HTTP target that updates your user. You need to reference your numeric user custom field and point your target back to your Zendesk instance. To increment the field by one, you use liquid markup.