AEM version: AEM 6.0 SP1
Any pointers on below will be helpful! Kindly advise if I missing to setup something in workflow model.
I have written a custom dialog and hooked that into one of the workflow process step. This dialog is responsible to absorb "approver userid" for approval process from workflow initiator. By right all user input data on a workflow will go into payload. Apparently our client doesn't want this data to be stored onto payload.
So my immediate thought was to store this data in /etc/workflow/instances folder, so this user input data will be accessible throughout the lifetime of the workflow. I am trying to write the data in /etc/workflow/instances/*.*/metaData.
But I am getting below error:
17.12.2014 10:53:25.722 *ERROR* [0:0:0:0:0:0:0:1 [1418774005718] POST /content/project/en/investment HTTP/1.1] org.apache.sling.servlets.post.impl.operations.ModifyOperation Exception during response processing.
javax.jcr.nodetype.ConstraintViolationException: No matching property definition: cq:adminApprover = apac-content
My dialog.xml is
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:cq=" http://www.day.com/jcr/cq/1.0" xmlns:jcr=" http://www.jcp.org/jcr/1.0"
jcr:primaryType="cq:Dialog"
title="Admin approver selection"
xtype="dialog">
<items jcr:primaryType="cq:WidgetCollection">
<title
jcr:primaryType="cq:Widget"
displayField="principal"
fieldDescription="Admin approver slection"
fieldLabel="Admin approver"
name="./metaData/adminApprover"
xtype="authselection"/>
</items>
</jcr:root>
My reference to above setup was: http://docs.adobe.com/docs/en/cq/current/workflows/wf-extending.html#Saving%20Property%20Values%20in...
^^ Apparently, guys in our community has also faced similar issue :( but workaround doesn't help my scenario.
http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...