How to Temporarily deactivate the project


Badge +6

Dear Experts,

 

How to deactivate the project?

 

We have 1 server where all our k2 projects are deployed, And we want to Temporarily deactivate 1 project. How exactly we can do that?

 

Regards

Amar


4 replies

Userlevel 5
Badge +18

1.  One thing that can be done is to perhaps revoke start rights to this process; this should prevent users form starting process instances:


http://help.k2.com/onlinehelp/k2blackpearl/userguide/current/webframe.html#reference-ws_mcon-workflow-processes_processrights.html

Badge +10

Not sure if you want to Disable all the Forms... perhaps can add an advanced rule to redirect if some value does not match what you want. and redirect to a 404 Custom View. this way will be disabled until you remove that condition/redirect.

 

12681iCB70E3E535C4C443.jpg

 

Another way is to play with the Authentication, but might impact the K2 Environment.

 

Hope this helps Dino.

Badge +6

Dear Dino,

 

Your suggestion is intresting, Could you please provide more details.

 

From where exactly i can get the 404 error view(Is it predefined view We need to create)?

 

Regards

Amar

Badge +10

Basically use:

 

404 Form

Param Variable

Transfer Data or set the Param Variable

Advanced Rule [ When the Form is Initializing ]

 

If the advanced rule check for a value and find it or not will redirect the Form to the 404 Page.

 

16238iAD3ABD58071DA17C.jpg

 

 

Hope this helps....

 

Dino.

 

Reply