06-27-2011 04:48 AM
06-27-2011 06:04 AM
06-27-2011 08:35 AM
<node name="Approved">
<transition name="" to="end1">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
<variable name="bpm_package" access="read" />
<expression>
var createCategoryAction= actions.create("create-category");
createCategoryAction.parameters["active"] = true;
createCategoryAction.execute(bpm_package.children[0]);
</expression>
</script>
</action>
</transition>
</node>
public class SampleClass implements ActionHandler{
public void execute(ExecutionContext arg0) throws Exception {
// Call the CustomCategoryCreationExecutor from here.
}
}public class CustomCategoryCreationExecutor extends ActionExecuterAbstractBase {
protected void executeImpl(Action arg0, NodeRef actionedUponNodeRef) {
}
}Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.