How to make provisioning job single threaded?

Caesrob
New Contributor
New Contributor

Hello,

We have a requirement which needs single threaded provisioning jobs. I don't know if this is the correct definition, so i'll explain a little more.

There are 2 Update Account tasks in the pending task list. When we provision to our application, the first update account task should be fully executed before starting the second update account task. This is because our update account tasks append strings in a customproperty using a stringbuilder. 

So if the first update task has "hello" in a string & the second update task has "world" in a string, the customproperty should have the string "hello world" after both update tasks are executed. This does not work when executing 2 update account tasks at the same time.

We have tried using the SingleInstanceProvisioningJob, but this didn't work for us. Does anyone have an idea on how we can achieve this?

Kind regards,

Robbe

2 REPLIES 2

armaanzahir
Regular Contributor III
Regular Contributor III

Hi @Caesrob ,

The choice of defining the number of threads for a job trigger was there in earlier versions of EIC.

armaanzahir_0-1689242247502.png

Number of Parallel Processes 

Job Categories for Old Job Control Panel (saviyntcloud.com)

What’s New in this Guide (saviyntcloud.com)

Release Notes v23.2 (saviyntcloud.com)

That being said, can you check the two parameters on the externalconfig.properties file :

enablemultithreadinginwsretry

upgrademultithreadinginwsretry 

These parameters are responsible for enabling multi-threading in WsRetry jobs.

armaanzahir_1-1689242914547.png

 

Making changes to these parameters will impact the behavior of all possible job triggers.

Thanks,

Armaan

 

Regards,
Md Armaan Zahir

pmahalle
Valued Contributor II
Valued Contributor II

Hi @Caesrob ,

Why you are creating both update account tasks at the same time, instead of that make it dependent.

Let's say first update task add "hello" in the user's custompropertyX, once custompropertyX is updated, trigger another update rule to append other string in the same customproperty using update user task action.

 


Regards,

Pandharinath Mahalle(Paddy)
If this reply answered your question, please Accept it As Solution to help others who may have a similar problem.