Forums / Setup & design / Workflow user problem!

Workflow user problem!

Author Message

Siniša Šehović

Friday 16 December 2005 1:01:29 am

Hi

I have one big problem with workflow.

I have a custom user class. In workflow I can't add user because checkbox is disabled.
What is wrong? Do I have to add something for workflow in browse.ini?!?

Best regards,
S.

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

Kristof Coomans

Friday 16 December 2005 2:22:00 am

Which workflow event type are you editing?

In case it's an event of the type "Event / Approve", the names of the used browse actions are SelectSingleUser for the "User who approves content" and SelectMultipleUsers for "Excluded user groups".

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Siniša Šehović

Friday 16 December 2005 4:39:36 am

Hi Kristof,

thanks for quick reply!

I am using "Event / Approve" event type.
When I try to add user from my custom user class to "User who approves content"
checkbox of user is disabled!?

In browse.ini I have :

[AssignRole]
Class[]
Class[]=user
Class[]=user_group
Class[]=new_user_class
TopLevelNodes[]
TopLevelNodes[]=users

What is wrong?
Pleas help.

S.

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

Paul Forsyth

Friday 16 December 2005 7:10:34 am

That should work.

Try restarting your browser. eZ will often use browser session variables to hold data which can only be removed by ending the session. If i remember right this is one of those occastions.

Paul

Siniša Šehović

Friday 16 December 2005 7:53:36 am

Hi Paul,

unfortunately that does not work.

Still I have disabled radio button in front of user.

Any suggestions?
Does user must have workflow policies?

Best regards,
S.

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

Paul Forsyth

Friday 16 December 2005 9:22:26 am

It must be a different problem then.

Debug the templates. Its the templates that decide whether that box is enabled or disabled. You should be able to see what the problem is.

Paul