Forums / Setup & design / cannot add multiple users in workflow

cannot add multiple users in workflow

Author Message

Marko Žmak

Friday 13 January 2006 12:20:27 am

I wanted to add more than one user that approves workflow but after I added the first one, the "Add User" button is disabled.

Is this a bug or a missing feature?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Łukasz Serwatka

Friday 13 January 2006 12:24:30 am

Hi Marko,

Currently only one user can approve content, so that's why the button is disable after you added it. This is not a bug.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Siniša Šehović

Friday 13 January 2006 1:06:58 am

Hi

I have a problem too! Can't add user to workflow.

Can't assign user from custom user class to workflow?!?

What could be the problem?

S.

---
If at first you don't succeed, look in the trash for the instructions.

Łukasz Serwatka

Friday 13 January 2006 1:32:16 am

Can't assign user from custom user class to workflow?!?

This is because "user" class id is hard coded in approve workflow event.

Check in file ezapprovetype.php line 351:

There is

'class_array' => array ( 'user' ) )

add your custom class id

'class_array' => array ( 'user', 'custom_class_id' ) )

Could you post bug report? This should be configurable in INI file.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Siniša Šehović

Friday 07 April 2006 6:59:09 am

Hi Lukasz

After installing OE I can't add custom user class anymore?!?

What to do?

Best regards,
S.

---
If at first you don't succeed, look in the trash for the instructions.

Kåre Køhler Høvik

Friday 07 April 2006 7:09:17 am

Hi

Please take a look at the eZApprove2 approve workflow event I added earlier today. http://ez.no/community/contribs/workflow/ezapprove2

It will you to add multiple users to the approval2 workflow.

Kåre Høvik

Siniša Šehović

Friday 07 April 2006 7:30:55 am

Hi Kåre

I tried your extension but can't add users from custom user class!?

I need some help here!

Best regards,
S.

---
If at first you don't succeed, look in the trash for the instructions.