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.

Two requests getting created

Anubhav24
Mega Sage

Hi All,

I have a catalog item , when I submit this catalog item it should create one request but two requests are getting created , the ghost one does not have any data.

I tried checking the session data , the catalogtransactionorder  and the servicecatalog processor everything looks fine.

Also , can the workflow trigger another request[ghost request] to be created ?

Any other directions where I can check and try to debug this. The system debugs are there but not able to make out what to check for in the system debugs.

Thanks in advance.

I read a article on community from Berlin release , it is too old to be true now also not very helpful :

https://community.servicenow.com/community?id=community_question&sys_id=4a4b0321db9cdbc01dcaf3231f96198c

6 REPLIES 6

Hello Anubhav,

Please check this Article once if it helps you to understand anything about your issue.

Thanks

Hi Mahendra ,

Thanks for your replies and help , however I figured out the issue.

There was an update statement in the workflow without a where clause and it was triggering the insert statement then looked up for the API in ServiceNow docs and verified it.

Update Documentation:

-----------------------------

update(Object reason)

Updates the GlideRecord with any changes that have been made. If the record does not exist, it is inserted.