# REST call to find executions waiting to be triggered

**URL:** <https://forum.flowable.org/t/rest-call-to-find-executions-waiting-to-be-triggered/4206>\
**Category:** Uncategorized\
**Created:** [July 17, 2019, 9:07pm UTC](https://forum.flowable.org/t/rest-call-to-find-executions-waiting-to-be-triggered/4206 "2019-07-17T21:07:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmb](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@jmb](https://forum.flowable.org/u/jmb)\
**Post date:** [July 17, 2019, 9:07pm UTC](https://forum.flowable.org/t/rest-call-to-find-executions-waiting-to-be-triggered/4206/1 "2019-07-17T21:07:15Z")

</div>

I have a Service Task that is triggerable. But I am seeing this error when trying to trigger that execution: `org.flowable.common.engine.api.FlowableException: UserTask should not be signalled before complete`

I think the ServiceTask has completed execution but how can I tell when the flowable engine is waiting for it to be triggered? I have the executionId.

---

<div class="post-metadata">

**Author:** ![martin.grofcik](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/martin.grofcik/32/71_2.png) [@martin.grofcik](https://forum.flowable.org/u/martin.grofcik)\
**Post date:** [July 18, 2019, 6:50am UTC](https://forum.flowable.org/t/rest-call-to-find-executions-waiting-to-be-triggered/4206/2 "2019-07-18T06:50:54Z")

</div>

Hi jmb,

```
org.flowable.common.engine.api.FlowableException: UserTask should not be signalled before complete

```

Are you triggering user task or service task? The log says that UserTask is triggered.

Regards  
Martin

---

<div class="post-metadata">

**Author:** ![jmb](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@jmb](https://forum.flowable.org/u/jmb)\
**Post date:** [July 18, 2019, 2:43pm UTC](https://forum.flowable.org/t/rest-call-to-find-executions-waiting-to-be-triggered/4206/3 "2019-07-18T14:43:47Z")

</div>

The executionId I’m using is for a Java Service Task. If I trigger it manually I don’t get this error. It seems that my code is trying to trigger the service before flowable is ready - don’t know why the error says UserTask.

---

<div class="post-metadata">

**Author:** ![martin.grofcik](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/martin.grofcik/32/71_2.png) [@martin.grofcik](https://forum.flowable.org/u/martin.grofcik)\
**Post date:** [July 19, 2019, 3:18pm UTC](https://forum.flowable.org/t/rest-call-to-find-executions-waiting-to-be-triggered/4206/4 "2019-07-19T15:18:39Z")

</div>

Could you prepare simple jUnit test for your case?

Martin
