<div dir="ltr">Dear,<div><br></div><div>I am using the Java client library to write integration tests but cannot seem to find the correct calls to run/resume/suspend a task. It is somewhat documented here <a href="https://wiki.evolveum.com/display/midPoint/MidPoint+Client+Library">https://wiki.evolveum.com/display/midPoint/MidPoint+Client+Library</a> </div><div>It states that the following is possible: <code class="gmail-java gmail-plain" style="font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;border-radius:0px;background-image:none;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box;font-size:14px;min-height:inherit;white-space:nowrap;color:rgb(0,0,0)">rest.tasks().oid(</code><code class="gmail-java gmail-string" style="font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;border-radius:0px;background-image:none;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box;font-size:14px;min-height:inherit;white-space:nowrap;color:rgb(0,51,102)">"123"</code><code class="gmail-java gmail-plain" style="font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;border-radius:0px;background-image:none;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box;font-size:14px;min-height:inherit;white-space:nowrap;color:rgb(0,0,0)">).suspend().post();</code></div><div>I know the Rest API allows /tasks/{oid}/suspend or /tasks/{oid}/run but when I do this in Java:</div><div>this.service.tasks().oid(taskType.getOid()).<no-run-method-here><br></div><div>Am I missing something? Or is this not implemented?</div><div>I am using midpoint-client-api version 4.0.1.</div><div><br clear="all"><div>Greetz,</div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span><div><div dir="ltr"><div><div dir="ltr"><div>Jan Lievens<div dir="ltr"><span><div><div dir="ltr"><div><div dir="ltr"><div><div style="font-size:12.8px;letter-spacing:0.2px">IT Consultant</div><div style="letter-spacing:0.2px"><font size="1">Bigger Fish</font></div><div style="letter-spacing:0.2px"><font size="1">Hoogstraat 35</font></div><div style="letter-spacing:0.2px"><font size="1">9450 Haaltert</font></div><div style="letter-spacing:0.2px"><font size="1">Belgium<br></font></div><div style="letter-spacing:0.2px"><font size="1">VAT: BE 0734.993.447</font></div><div style="font-size:12.8px;letter-spacing:0.2px"><div><font size="1">Mob: +32 494 84 66 97</font></div></div></div></div></div></div></div></span></div></div></div></div></div></div></span></div></div></div></div></div></div></div></div>