Problems with the workflow

Author Message

Natalia Lillo

Tuesday 08 November 2005 5:03:59 am

Hi everybody.

I create a workflow and then I connect to the trigger, I follow all the steps to create a workflow, according to the documentation but
doesn't works. It's supposed to if I create any object (e.g. Folder, Link, Article,and so on) shouldn't to show the object created until be approved by administrator' user or not??. After to create the workflow, I create an object and show it without for approving by user.
I don't know than more to do....
could somebody explain me please ....

Thanks...

Natalia

Marko Žmak

Tuesday 08 November 2005 3:30:57 pm

As always, when asking for help on the forum, people cannot help you unless you provide them with enough information. Why don't you try copy-pasting the definitions of your workflows and triggers.

Try to provide more detailed information always when you ask for help in the forum.

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

Hubert Farnsworth

Natalia Lillo

Wednesday 09 November 2005 4:44:47 am

Ok... I'm Sorry.
I use eZ 3.6

This is the information:

Workflow groups: Standard

Name Workflow:Entrada Aprobada Workflow

Affected sections: Standard

User who approves content:
Natalia Lillo (Administrator User)

Excluded users and groups:
Administrator users

Trigger:
content /publish /before Entrada Aprobada Workflow

Event: Event / Approve

And I run the job runcrobjob.php each 30'.

Now..., No appear none error, but the intranet continue to the same way , without changes....
what it's supposed it would should to do the workflow??
I want to know, Which are the steps for to create a workflow, I need to know if I'm doing it well...

Cheers
NATALIA

Marko Žmak

Wednesday 09 November 2005 2:18:16 pm

What is exactly your problem?

The objects shouldn't appear after publish, but they do?

Is that right?

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

Hubert Farnsworth

Nathan Kelly

Wednesday 09 November 2005 11:26:07 pm

I think Natalia is trying to say something like this.

---
<i>"I create a workflow and then I connect it to a trigger, I follow all the steps to create a workflow, according to the documentation but the workflow doesn't work."

"My understanding is that if I create an object (e.g. Folder, Link, Article and so on) the object shouldn't be published until an administrator has approved it. Or have I misunderstood the concept of the workflow?"

"Am I creating the workflow correctly?"</i>
---

But I'm not really up on workflows so I have no answer.

I'm not having a dig at anyone here by the way, just trying to help a fellow eZp user get the most out of these forums, I thought this might help break the language barrier a little.

Cheers!

Pardon me while I burst into flames...

Łukasz Serwatka

Wednesday 09 November 2005 11:37:53 pm

Natalia, in new documentation is very usefull document about workflows and workflow events. This will give you some light.

http://ez.no/doc/ez_publish/technical_manual/3_6/concepts_and_basics/workflows

http://ez.no/doc/ez_publish/technical_manual/3_6/reference/workflow_events

http://ez.no/doc/ez_publish/technical_manual/3_6/reference/workflow_events/approve

Short tutorial about approve workflow you can find here:

http://ez.no/products/ez_publish_cms/documentation/building_an_ez_publish_site/the_guestbook/implementing_an_approval_mechanism

http://ez.no/products/ez_publish_cms/documentation/building_an_ez_publish_site/the_guestbook/creating_a_workflow

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

Natalia Lillo

Thursday 10 November 2005 8:00:11 am

Yes Marko, that's my problem...
The objects appear before to be approved..

Cheers.

Natalia

Note: Please accept my apologies for my English. I will try to make it better...

Natalia Lillo

Thursday 10 November 2005 8:09:42 am

Ok Lukasz, Thanks..

Natalia Lillo

Thursday 10 November 2005 8:33:19 am

Nathan, Can I ask you a question?
You speak and write spanish????.

Cheers.

NATALIA

Marko Žmak

Thursday 10 November 2005 3:10:50 pm

Some things you could check Natalia:

- is the node you're trying to publish part of the "Standard" section?
- is the user that is trying tu publish the content part od the Administrators group? Is it is, then it's logical that the content won't wait for approval, note that it's written "EXCLUDED users and groups".

These are some suggestions, that you should check first, maybe will solve the problem.

Also, check if the published objects appear in your Collaboration list in the admin interface.

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

Hubert Farnsworth

Nathan Kelly

Thursday 10 November 2005 4:08:47 pm

Hi Natalia, no I only speak English, but I notice that these forums have a lot of users who's second language is English.

It seems that sometimes ideas and context can get lost in the translation between people who speak (Spanish plus English) and people who speak (Norwegian plus English) for example.

However because I only speak English I can understand what most people are trying to say regardless of how they say it. I know English is a very hard language to learn because there are so many mixed meanings.

Also as I said I don't mean to offend anybody, I just thought that if I could put your question into a format that everybody could understand you may have more luck getting an answer.

Cheers!

Pardon me while I burst into flames...

Natalia Lillo

Monday 14 November 2005 6:45:17 am

Hi Marko,

- is the node you're trying to publish part of the "Standard" section?

yes...

Also, check if the published objects appear in your Collaboration list in the admin interface.

Nothing appear in the My Account/Collaboration in the admin interface.

- is the user that is trying tu publish the content part od the Administrators group? Is it is, then it's logical that the content won't wait for approval, note that it's written "EXCLUDED users and groups".

Well, I suppose so. I set the "User who approves content" to "Administrator User" and I set the "Excluded User and groups" to "Administrator User" in the admin interfce, then administrator' user create a node(e.g. folder, image,and so on), that's why the object it should to be creted for the editor's user for example and not for the administrator user?. Ok, I think understand you, Editor'user creates a node and administrator user approve it, I will try with this.

Well, thanks for your help, I will try to chek with other user...

Cheers,

Natalia

Marko Žmak

Tuesday 15 November 2005 3:19:05 pm

So, did you have any luck with this?

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

Hubert Farnsworth

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 06:11:00
Script start
Timing: Jan 19 2025 06:11:00
Module start 'layout'
Timing: Jan 19 2025 06:11:00
Module start 'content'
Timing: Jan 19 2025 06:11:01
Module end 'content'
Timing: Jan 19 2025 06:11:01
Script end

Main resources:

Total runtime0.7358 sec
Peak memory usage4,096.0000 KB
Database Queries91

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 589.1484152.6250
Module start 'layout' 0.00560.0035 741.773439.4453
Module start 'content' 0.00900.7253 781.2188756.1953
Module end 'content' 0.73430.0015 1,537.414128.1641
Script end 0.7358  1,565.5781 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4661160.0002
Check MTime0.00130.1829160.0001
Mysql Total
Database connection0.00080.112510.0008
Mysqli_queries0.630485.6732910.0069
Looping result0.00100.1325890.0000
Template Total0.704495.720.3522
Template load0.00210.283120.0010
Template processing0.702395.446120.3512
Template load and register function0.00020.031910.0002
states
state_id_array0.00080.112410.0008
state_identifier_array0.00140.188620.0007
Override
Cache load0.00200.26901010.0000
Sytem overhead
Fetch class attribute can translate value0.00090.116640.0002
Fetch class attribute name0.00130.1716160.0001
XML
Image XML parsing0.00190.264440.0005
class_abstraction
Instantiating content class attribute0.00000.0062200.0000
General
dbfile0.00120.1585320.0000
String conversion0.00000.001640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
13content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
23content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
13content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
7content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 58
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs