Recent searches


No recent searches

ZIS - ticket.CustomFieldChanged



Posted Oct 19, 2023

Hello 

 

I want to use this function: 

ticket.CustomFieldChanged
 
But I don't know where and how I put the ID of the ticket field my ZIS need to scan.
How can I do that?
 

0

3

3 comments

Hello, 

 

Thanks for your feedback, but my trigger has to start when the value of this ticket field change.

So do I have yo put

   {
    "Variable": "$.input.ticket_event.custom_field.id",
    "NumericEquals": 1234567890,
"Variable2': $.input.ticket_event.custom_field.value"
"StringEquals":"myvalue"
    "Next": "YesProcessValue"
  }

0


Top, It's working!

 

thank you!

0


Progressing, but blocked now.

I did that :

  "definition": {
                    "StartAt": "checkfield",
                    "States": {
                        "checkfield": {
                            "Type": "Choice",
                            "Choices": [
                                {
                                    "And": [
                                        {
                                            "Variable1": "$.input.ticket_event.custom_field.id",
                                            "NumericEquals": 14113959816477
                                        },
                                        {
                                            "Variable2": "$.input.ticket_event.current",
                                            "StringEquals": "cancel_agreement"
                                        }
                                    ],
                                    "Next": "Get_Agreement_ID"
                                }
                            ],
                            "Default": "CheckValue2"
                        },
                        "CheckValue2": {
                              "Type": "Choice",
                            "Choices": [
                                {
                                    "And": [
                                        {
                                            "Variable3": "$.input.ticket_event.custom_field.id",
                                            "NumericEquals": 14113959816477
                                        },
                                        {
                                            "Variable4": "$.input.ticket_event.current",
                                            "StringEquals": "send_agreement"
                                        }
                                    ],
                                    "Next": "Get_Ticket"
                                }
                            ],
                            "Default": "Finish"
                        },
 
 
But the cancel is not working, and my workflow never go in step "get_agreement_ID" step.
Do you know why?
 
Logs: 
 "message": "Execution Successful",  "fields": {    "account_id": ,    "began_at": "2023-10-20T14:57:44Z",    "emitted_by": "zis-engine",    "ended_at": "2023-10-20T14:57:44Z",    "execution_states": [      "CheckStatus",      "CheckValue",      "Finish"    ],    "flow_name": "zis:sg_adobe3:flow:ticket-created-flow",    "input": {      "ticket_event": {        "current": "cancel_agreement",        "custom_field": {          "field_type": "tagger",          "id": 14113959816477,

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post