Skip to main content
alex_theys
Level 2
Oct 16, 2015 2:29 AM UTC
Solved

Workflow issue with timeline

Hi,

I am having an issue with the AEM 6.1 out of the box workflows.

When I attempt to have a participant step after a simple process step I get a null pointer exception (error log is attached in txt file).

Here is the very simple workflow:

[img]Screen Shot 2015-09-23 at 10.59.47.png[/img]

Here is what I expected from it:

[img]Screen Shot 2015-09-23 at 11.04.25.png[/img]

but this is what I get:

[img]Screen Shot 2015-09-23 at 11.06.08.png[/img]

Any help would be much appreciated!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Oct 16, 2015 2:29 AM UTC

Looks like a permission issue - you need to make sure that the groups have the required permissions to perform the tasks in this workflow. 

15 replies

alex_theys
Level 2
Oct 16, 2015 2:29 AM UTC

Right, I have narrowed it down. Basically adding Read access to home fixes it.

It looks like in order to look up elements in the timeline the users will need access to the display name (firstname and or lastname).

Thanks for the help guys

Translate
alex_theys
Level 2
Oct 16, 2015 2:29 AM UTC

That makes sense, what permissions would it need though?

As far as groups go, they have workflow-users and content-authors.

I ran a test, adding admin rights to the user seems to make it work.

Translate
alex_theys
Level 2
Oct 16, 2015 2:29 AM UTC

Turns out, giving read access to the folder containing the admin user has fixed this particular problem.

Translate
Lokesh_Shivalingaiah
Level 10
Oct 16, 2015 2:29 AM UTC

Even I faced this issue sometime before if we assign it to non-admin groups. I couldnt debug further there !

Translate
smacdonald2008
smacdonald2008Accepted solution
Level 10
Oct 16, 2015 2:29 AM UTC

Looks like a permission issue - you need to make sure that the groups have the required permissions to perform the tasks in this workflow. 

Translate
alex_theys
Level 2
Oct 16, 2015 2:29 AM UTC

Groups that aren't administrators

Translate
alex_theys
Level 2
Oct 16, 2015 2:29 AM UTC

yeah I did, and that worked. the problem is only when setting to groups

Translate
smacdonald2008
Level 10
Oct 16, 2015 2:29 AM UTC

Did you try and set to admin in part step? 

Translate
alex_theys
Level 2
Oct 16, 2015 2:29 AM UTC

yup, same problem when starting it from classic UI, same error too.

Translate
smacdonald2008
Level 10
Oct 16, 2015 2:29 AM UTC

Try that and try invoking from classic UI (http://localhost:4502/siteadmin#/content) too. Lets see if the issue can be nailed down. 

Translate