Hi Pragya

I may as well help you out with this one, as it relates to my previous response.

xdmp:server-status() can be used to see all running requests. They are all 
current. I would take a look at the output on your own system or alternatively 
http://docs.marklogic.com/xdmp:server-status ( see bottom ) so's you can figure 
out how you go about choosing the right thing to cancel. request-text quite 
possibly.

If you are trying to make a request self cancel then xdmp:request can be used.

Ken


From: [email protected] 
[mailto:[email protected]] On Behalf Of Kapoor, Pragya
Sent: 22 May 2015 11:01
To: MarkLogic Developer Discussion
Subject: [MarkLogic Dev General] Get Request Id of the current request


Hi,



Is there any way to find out the request-id of the current request sent to ML,

so that I can use the same request Id in xdmp:request-cancel.



Thanks

Pragya
"This e-mail and any attachments transmitted with it are for the sole use of 
the intended recipient(s) and may contain confidential , proprietary or 
privileged information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. Any 
unauthorized review, use, disclosure, dissemination, forwarding, printing or 
copying of this e-mail or any action taken in reliance on this e-mail is 
strictly prohibited and may be unlawful."
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to