Karim_Azzouzi_8427

Regarding DWP Issue

Discussion created by Karim_Azzouzi_8427 on Feb 27, 2017
Latest reply on Mar 1, 2017 by Antoine_Sauteron_1266
Can you please let us know why the type of some of the  below WP’s has changed from ‘W’ to ‘D’ as few weeks back Automic consultant has increased our Work processes to 38 with type ‘W’ by seeing our current load in BorisN12 and now if you can see(Attached screenshots) only 21 WP’S are with ‘W’ type and rest has changed back to ‘D’. Can you please let us know what has caused this all of the sudden and Can you be able to change the WP’s type from ‘D’ to ‘W’ and make the count of 38 of total W types.

what the “W”, “D”, etc. types mean.  Also, please  exactly let us know  what’s required to add additional Worker Processes (from start to finish) – as this might help determine why only 21 of our 38 are presumably active.

You can either convert W to D type in CLIENT 0 under Automation Engine UI or run this script :
To change WP type from Dialog to WorkProcess or viceverca, run this script in client 0
*************************************************
Switch any active WP to D
:IF SYS_SERVER_ALIVE("WS112#WP004")="Y"
:  SET_UC_SETTING "SERVER_MODE", "WS112#WP004", "D"
:   PRINT ALL RIGHT WP004 is now "D"
:ELSE
:  PRINT "Work process WS112#WP004 is not active!"
:ENDIF
**************************************************
**************************************************
Switch any active WP to W

:IF SYS_SERVER_ALIVE("WS112#WP004")="Y"
:  SET_UC_SETTING "SERVER_MODE", "WS112#WP004", "W"
:   PRINT ALL RIGHT WP004 is now "W"
:ELSE
:  PRINT "Work process WS112#WP004 is not active!"
:ENDIF
*************************************************
Note that :

WS112=YourAEServer

And Roles :
"O"- Output
"R" - Resource
Cannot be switched.

Note that if you want to set a limit to your W process type , you have to edit in UC_SYSTEM_SETTINGS  the key :

WP_MIN_NUMBER whit the max mandatory W to have before creating Dialog process.


 




Outcomes