Skip to main content
June 22, 2023
Question

Display another interface from the StartProcess Smart service

  • June 22, 2023
  • 10 replies
  • 0 views

Hi,

I'm in an interface A, and I'm calling a process from a!startProcess.
Inside the process I have an Input task to display interface B.

Could you explain me why when I call the process, it works fine but the Interface B is never displayed ?

(all the nodes are linked with chaining)

10 replies

mathieud0001
Brainy
June 22, 2023

You need to use a startProcessLink instead of startProcess.

This might be helpful: [View:https://docs.appian.com/suite/help/23.2/Ways_to_Start_a_Process_From_a_Process.html#starting-a-process-from-an-interface]

June 22, 2023

Thanks a lot

harshitb6843
June 22, 2023

startProcess starts a process async. This means it is started on the available engine and hence even if you have chained, it will not work. It is best when you have a set of tasks that you want to complete in the background. 

June 22, 2023

Yes, I used to know this (startProcess is async) but I've completely forgot that detail ;-)

Thank you

abhayd3663
June 22, 2023

I think for your use case, you may have the parent interface as a startForm to the process and then any other subsequent interfaces as input task and have the activity chaining will achieve whatever you are trying to do.

June 22, 2023

Great idea, thank you. I will think about it.