<p dir="ltr">Hi Pavol, <br>
I have interesting question on my mind :<br>
What other functionality, accessible from GUI, is not accessible via REST? </p>
<p dir="ltr">So far I used to tell to potential customers that every functionality from GUI is also accessible from the REST interface. </p>
<p dir="ltr">Best regards, Petr </p>
<br><div class="gmail_quote"><div dir="ltr">Dne st 24. 2. 2016 0:52 uživatel Pavol Mederly <<a href="mailto:pavol.mederly@gmail.com">pavol.mederly@gmail.com</a>> napsal:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hello Elijah,<br>
<br>
work item approval or rejection is currently possible only via local
Java API. (Implemented as WorkflowService interface.)<br>
<br>
We plan to implement remote access to this functionality in
forthcoming version 3.4, along with some changes in internal
workflow data structures. It is feasible for you to wait for this
release, or you'd need it sooner?<br>
<br>
It could be implemented immediately by adding respective wrapper
methods to ModelRestService and ModelCrudService, copying e.g.
task-related methods (suspendTasks, etc). But as I said, the
respective data structures will slightly change in 3.4, so the
clients will have to be - very probably - adapted as well.<br>
<br>
Best regards,<br>
Pavol</div><div bgcolor="#FFFFFF" text="#000000"><br>
<br>
<div>On 24.02.2016 0:43, Elijah Jones wrote:<br>
</div>
<blockquote type="cite">
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I am looking into managing workflows via
the REST API and have a couple of questions:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p><span>1.<span style="font:7.0pt "Times New Roman"">
</span></span>Is it currently possible to
approve or reject workflow items via the REST API?<u></u><u></u></p>
<p><span>2.<span style="font:7.0pt "Times New Roman"">
</span></span>If so, is there a resource which
would direct me on how to use this?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have done a bit of research but have not
been able to find anything. It seems that the objects
supported by the REST interface don’t include workflows.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I did find however this quote from the page
below: “<span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#333333;background:white">After
some tweaking, the self-service application could be
notified as well; or it could query midPoint to see the
status of the request - this is not implemented yet, but
it's not that hard to implement.”</span><u></u><u></u></p>
<p class="MsoNormal"><a href="https://wiki.evolveum.com/display/midPoint/How+to+use+workflows+in+a+self-service+scenario" target="_blank">https://wiki.evolveum.com/display/midPoint/How+to+use+workflows+in+a+self-service+scenario</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">This seems to imply that you can access
current workflows via some kind of API, but I can’t find where
you would tweak to implement this<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Any help would be appreciated<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal">Elijah<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<br>
<br>
<i>This email, and any attachment, is confidential and also
privileged. If you have received it in error, please notify me
immediately and delete it from your system along with any
attachments. You should not copy or use it for any purpose, nor
disclose its contents to any other person. </i>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
midPoint mailing list
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<br>
</div>
_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
</blockquote></div><div dir="ltr">-- <br></div><div dir="ltr">--<div>Petr G.</div></div>