eZ Community » Forums » Developer » Workflow status ... and other info?
expandshrink

Workflow status ... and other info?

Workflow status ... and other info?

Tuesday 17 January 2012 8:23:20 pm

Hi,

The following workflow code:

 $operationResult = eZOperationHandler::execute( 'content','publish', array( blablabla  ), null, true );

returns only

 $operationResult['status']

Is there a way to send more information about the reason why a workflow was accepted or rejected with the status code? Basically I want to give the visitor immediate feedback why an item was accepted or rejected.

I have seen the use of setInformation, e.g.:

 $this->setInformation( "we are checking approval now" );

But I am not sure how it is used, and how that info is retreived?

No reply yet!

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from