How to complete an activity in state open.not_running.not_started

Confluence User - 05 Oct, 2022

I have a form in which I only do a redirect via Javascript in custom HTML and try to complete the activity. However, it stays stuck in open.not_running.not_started state but does do the redirect. See code below. I want to end the process at this point which I have successfully done in the next tool with JSON Tool but it never leaves the open.not_running.not_started activity to get to the tool.

I have also tried to use Deadline with 5 seconds but apparently that also does not work in the open.not_running.not_started state.

<script>
    window.location.replace("http://ifcsn.org/index.php/ifcsn-login");
    var pagebutton= document.getElementById("assignmentComplete");
    pagebutton.click();
</script>

How can I accomplish what I am trying to do.

Thanks, Bill

forms;process

3


06 Oct, 2022
confluenceUser
confluenceUser

You can add a Process Tool to abort the pending task via WorkflowManager#activityAbort.

06 Oct, 2022
confluenceUser
confluenceUser

Thanks so much, Matthew! But I have not yet worked on the deeper developer side of Joget, although I have been a developer in other environments over the years. I see sample source code in the article. What is the simplest way to make similar code available and active in my Joget project? Would this be a plug-in, a Bean Shell or something else. Is there a step by step guide to go in this direction. It looks like understanding this would greatly increase my options to develop in Joget. Thanks!

07 Oct, 2022
confluenceUser
confluenceUser

I Googled and found this document which might be helpful Developing Plugins

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print