43
Views
3
Comments
Solved
Error on launching more than 2000 process at a time
Question

Hi,

I have an option to create more than 2000 process at a time. Also I have an option to launch single process at a time. When I launch one process at a time, its executing and process flow runs successfully. But when I launch more than 2000 process I'm getting an error in log "Could not execute a built-in/extended action on activity 'Start' (#9750977) because the activity does not exist".

May I know how to resolve this issue?Thanks in advance.



Regards,

Wasim Khan S

Solution

Swatantra Kumar wrote:

Hi Wasim,

If in your application it is expected to launch multiple automatic processes, database expensive or long running process it is advised to enable light process execution.

There are some prerequisites in regards to light process execution. The process must meet all the following conditions:

  • Has a simplified structure (Start > Automatic Activity > End).

  • Is triggered by a database event.

  • Expose Process Entity property is set to No:


For further read: Design Scalable Database Queueing Using Light Processes

Also, have a look at multiple patterns for designing processes


Regards,

Swatantra

 

 Hi,

We have enabled Light process. 

BPT occurs in a separate transaction. So we should commit changes to records. The problem is resolved now.



Thanks,

Wasim Khan S

Rank: #109

Hi Wasim,

If in your application it is expected to launch multiple automatic processes, database expensive or long running process it is advised to enable light process execution.

There are some prerequisites in regards to light process execution. The process must meet all the following conditions:

  • Has a simplified structure (Start > Automatic Activity > End).

  • Is triggered by a database event.

  • Expose Process Entity property is set to No:


For further read: Design Scalable Database Queueing Using Light Processes

Also, have a look at multiple patterns for designing processes


Regards,

Swatantra

Rank: #109

Glad it worked out.