Link to launch Process With Start Form

Certified Lead Developer

 I am trying to replicate the Action tab in Site. Is there any way where I can provide list of action links to the user (similar to action tab in tempo)

  Discussion posts and replies are publicly visible

Parents
  • Hi Ajinkya,

    Create dashboard with link, buttons or images whatever suites your requirement. Use a!startProcess() in saveInto (as kchaitnyam replied to you). It will trigger that process but make sure that your process should have "Process Start Form".

    for example:
    with(
    a!startProcess(
    processModel : cons!TEST_DOC_PROCESS_MODEL,
    onSuccess: {
    a!save(ri!resp1,index(fv!ProcessInfo,"pv",{}).testDoc),
    a!save(ri!resp2,index(fv!ProcessInfo,"pv",{}).ImagesCreated),
    },
    onError :a!save(ri!resp1,"Process can not be started" )
    )
    )
Reply
  • Hi Ajinkya,

    Create dashboard with link, buttons or images whatever suites your requirement. Use a!startProcess() in saveInto (as kchaitnyam replied to you). It will trigger that process but make sure that your process should have "Process Start Form".

    for example:
    with(
    a!startProcess(
    processModel : cons!TEST_DOC_PROCESS_MODEL,
    onSuccess: {
    a!save(ri!resp1,index(fv!ProcessInfo,"pv",{}).testDoc),
    a!save(ri!resp2,index(fv!ProcessInfo,"pv",{}).ImagesCreated),
    },
    onError :a!save(ri!resp1,"Process can not be started" )
    )
    )
Children
No Data