Hi!
Does anybody know how I can create a function, in Lead Page for example, that will start a process?
Thank you!
Like
Hello,
Can you please give us more details on what logic exactly you are trying to achieve?
Best regards,
Mira
Mira Dmitruk,
Hi!
I created a custom button on the Lead page. In the Lead I had a process that runs manually when pressing the "Run Process" button. I want to move this process to start when clicking my custom button.
I tried to use this but it doesn't do anything:
onOpenGroupSearchClick: function() {
//this.showInformationDialog();
var args = {
// The name of the process that needs to be launched.
sysProcessName: "LeadGroupSearch"
};
// Launch of the custom business process.
ProcessModuleUtilities.executeProcess(args);
},
But clicking the button works. You can see that I added a pop-up and it appears. The problem is that the process doesn't start.
In the "Run Process" I have to start the process when the LeadId is read. Should I add this to the code?
Thank you!
Ghiu Diana Stefania,
This article shows how to start a process from client-side code:
https://customerfx.com/article/programmatically-starting-a-process-from…
Ryan