-
Notifications
You must be signed in to change notification settings - Fork 116
Rest: getNext
Kristian Karl edited this page Sep 28, 2019
·
1 revision
The Rest call getNext
is used to get the next element from the path generation. GraphWalker will,
given the path generator, calculate what the next element should be and step one step forward in the execution of
the model. The element name is returned in the response.
GET Request
http://service-host:8887/graphwalker/getNext
Response
If the request was successful "result" will be "ok".
"currentElementName" will hold the name of the element.
{
"result":"ok",
"currentElementName":"<The name of the element>"
}
From a Linux terminal, using curl:
curl http://localhost:8887/graphwalker/getNext
{"result":"ok","currentElementName":"e_init"}