Question

Generating a signal

Greetings! I need to build a business process that starts after opening a lead if the import field = true. As I understand BP should start with the signal. My question is how do I generate this signal in the Lead page. Should I generate it on PageLoadComplete?

File attachments

Like

1 comments

You can get the BP from the code the following way:

var manager = UserConnection.ProcessSchemaManager;

var processSchema = manager.GetInstanceByName("MyProcess");

var process = processSchema.CreateProcess(UserConnection);

process.Execute(UserConnection);



Where MyProcess is the name of BP.

You can actually do this on PageLoadComplete.

Show all comments