cancel
Showing results for 
Search instead for 
Did you mean: 

Duplicate workflow

e-no91
Champ in-the-making
Champ in-the-making
Hi,

I would like to create a new workflow similar to Pooled Review Task workflow. I've tried copying and editing in extension folder but it doesn't work, so I would like to simply duplicate the xml in the same workflow folder.
I've renamed it as review_pooled_pd_processdefinition.xml
and only changed

..name="wf:reviewpooled">

to

..name="wf:reviewpooledpd">


and added in workflow-messages_en.properties

#
# Pooled PD Review Workflow
#

wf_reviewpooledpd.workflow.title=Pooled Review And Approve (PD) (JBPM)
wf_reviewpooledpd.workflow.description=Pooled review and approval of content using JBPM workflow engine

# Pooled Review Process Definitions

wf_reviewpooledpd.node.review.transition.reject.title=Reject
wf_reviewpooledpd.node.review.transition.reject.description=Reject
wf_reviewpooledpd.node.review.transition.approve.title=Approve
wf_reviewpooledpd.node.review.transition.approve.description=Approve



The error is java.lang.NullPointerException at line

workflow.execute(document);


Are there any other files I need to add/duplicate for this to work? Thanks in advance!
1 REPLY 1

e-no91
Champ in-the-making
Champ in-the-making
It's okay now, I just need to modify bootstrap-context.xml