Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Need to increase the count when we check the checkbox on the OOB form ?

snow57
Tera Contributor

Hi,

 

I have two fields , One is checkbox and the other is numerical data type. And these two present on the form (not on the catalogs). i need to increase the number of times when the checkbox selected. Its working when we write "current.update" in the after business rules. I dont want to use the "currenty. update" in the BR. Is there any way to sort this out with out using this . ?

 

Thanks,

snow.

3 REPLIES 3

AshishKM
Kilo Patron
Kilo Patron

Hi @snow57 , 

Please share the BR code.

 

-Thanks,
AshishKM


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

Bert_c1
Kilo Patron

Have your Business Rule run "Before" (with a >100 order) and remove the current.update();. See:

 

https://docs.servicenow.com/bundle/tokyo-api-reference/page/script/business-rules/concept/c_Business...

 

Amit Verma
Kilo Patron
Kilo Patron

Hi @snow57 

 

Can you please elaborate on your requirement as I am not able to understand the worth behind this requirement ? Does the number field hold the checkbox count for a particular form (record) only or all the records available inside the table ?

 

Thanks and Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.