We created a number field named "Amount" within the form for Contract Review. We aim to automate the process such that if the amount entered exceeds 1,000, the ticket will transition to the pending approval status automatically.
I setup the automation as below:
However, despite setting up the automation, it didn't function as intended. Regardless of the number entered in the "Amount" field, it consistently displayed "did not match the condition".
Can anyone help me troubleshoot and resolve this issue? Thank you.
Hi Carol,
Can you share the entire rule? And also the details of the Audit Log when the rule runs please.
Hi John,
Here is the entire rule. It is quite simple.
I created a test ticket and filled in "1005" as the amount. And the Audit log was like below:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Carol Su
Adding to John's answer...
That log seems to indicate the field value is null. Did you confirm the field has a value?
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bill,
When I created the test ticket, I did fill the field and it showed on the form. So I have no idea which part is wrong.
Kind regards,
Carol
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Carol, I was asking if the form field was stored in an issue field for use.
I am not using JSM, but I do not believe form fields can be accessed from an automation rule's smart values.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I suggest you log out the value for the Amount field right after the Condition to see if there is a value in it or not, because it doesn't look like there is based on the audit log.
And can you share a screenshot of the issue with the value in the field before it gets transitioned?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I addressed the issue by taking the following steps:
(1) Back to the Request Type setting page and included the Amount field in the Customer request firm section. Upon saving the changes, the linked Jira field set in the attached form was automatically removed.
(2) Subsequently, proceeded to edit the attached form once more. reintroducing the linked Jira field and saving the changes. Interestingly, upon doing so, the Amount field disappeared from the Customer request form section in the Request Type setting page.
Although I'm uncertain of the underlying rationale, these adjustments resolved my problem, and the automation now runs effectively.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.