Skip to main content
Known Participant
Feb 26, 2025 3:57 PM UTC
Solved

Can I trigger a process from a Script task?

Is there any way to trigger a process from an Script Task within a process using a!startProcess() ?

Thanks a lot.

    mikes0011
    mikes0011Answer
    Brainy
    Feb 26, 2025 4:05 PM UTC

    No - a!startProcess() must be used in the context of an on-form user interaction.

    If you want to trigger a process within a different running process, that's what the subprocess node and Start Process nodes are for.  What is your use case?

    The Expression Guru

    9 replies

    mikes0011
    mikes0011Answer
    Brainy
    Feb 26, 2025 4:05 PM UTC

    No - a!startProcess() must be used in the context of an on-form user interaction.

    If you want to trigger a process within a different running process, that's what the subprocess node and Start Process nodes are for.  What is your use case?

    The Expression Guru
    karumurua531442
    Participating Frequently
    Feb 26, 2025 4:13 PM UTC

    hi [mention:8cdd6119fd07485ea8670348a7dd2045:e9ed411860ed4f2ba0265705b8793d05]  may i know your use case please?

    Known Participant
    Feb 26, 2025 4:25 PM UTC

    I hace a process that triggers with an incoming email. That tells me that a new document has been downloaded in a particular path in the server. I want to run another process in the "Trigger process" Script Task to take this document, read it and extract the information to carry on with the process and fill the next "User Form" User Input Task. So, is it possible to trigger a process from a Script Task?

    stefanhelzle0001
    Brainy
    Feb 26, 2025 4:28 PM UTC

    No. Use the Start Process smart service.