04-03-2009 08:50 AM
04-03-2009 09:26 AM
04-03-2009 12:12 PM
04-06-2009 05:14 AM
<process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="wcmwf:CRsubmitNew">
<swimlane name="initiator"/>
<start-state name="start">
<task name="wcmwf:submitReviewTask" swimlane="initiator"/>
<transition name="" to="Validation">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
var mail = actions.create("mail");
mail.parameters.to = 'santhosh.sekar@yahoo.com';
mail.parameters.subject = "Adhoc Task 123";
mail.parameters.from = 'santhosh.sekar@gmail.com';
mail.parameters.template = companyhome.childByNamePath("Data Dictionary/Email Templates/new.ftl");
mail.parameters.text = "It's done end ";
mail.execute(bpm_package);
</script>
</action>
</transition>
</start-state>
<decision name="Validation">
<handler class="com.sample.action.MessageActionHandler"></handler>
<transition name="trEnd" to="end"></transition>
<transition name="trInitialize" to="somenewTask"></transition>
</decision>
<end-state name="end"/>
<event type="process-end">
<action class="org.alfresco.repo.avm.wf.AVMRemoveAllSrcWebappsHandler"/>
<action class="org.alfresco.repo.avm.wf.AVMReleaseTestServerHandler"/>
<action class="org.alfresco.repo.avm.wf.AVMRemoveWFStoreHandler"/>
</event>
</process-definition>
04-08-2009 05:16 AM
FacesContext fc =FacesContext.getCurrentInstance();
fc.getApplication().getNavigationHandler().handleNavigation(fc,null, "dialog:submitSandboxItems");
Utils.addErrorMessage("DOing SomeThing WronG");
04-16-2009 02:02 AM
FacesContext fc =FacesContext.getCurrentInstance();
fc.getApplication().getNavigationHandler().handleNavigation(fc,null, "dialog:submitSandboxItems");
Utils.addErrorMessage("DOing SomeThing WronG");
<event type="process-end">
<action class="org.alfresco.repo.avm.wf.AVMRemoveAllSrcWebappsHandler"/>
<action class="org.alfresco.repo.avm.wf.AVMReleaseTestServerHandler"/>
<action class="org.alfresco.repo.avm.wf.AVMRemoveWFStoreHandler"/>
</event>
04-16-2009 02:59 AM
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.