Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.0.X
-
7.2.x, 7.1.x, 7.0.x
-
Committed
-
1
-
3
Description
1. Navigate to Control Panel/Configuration/Kaleo designer
2. Add new definition
3. Enter title
4. create definition with start node, task node, end node
5. select the task node and click on timers
6. Enter name like "wait",Duration like "1",Scale like "Minute"
7. Publish the definition.
Or using the below xml:
<?xml version="1.0"?> <workflow-definition xmlns="urn:liferay.com:liferay-workflow_7.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:liferay.com:liferay-workflow_7.0.0 http://www.liferay.com/dtd/liferay-workflow-definition_7_0_0.xsd"> <name>Definition66</name> <description></description> <version>1</version> <state> <name>StartNode</name> <metadata> <![CDATA[{"xy":[100,40]}]]> </metadata> <initial>true</initial> <transitions> <transition> <name>connector7584</name> <target>task5175</target> <default>true</default> </transition> </transitions> </state> <state> <name>EndNode</name> <metadata> <![CDATA[{"terminal":true,"xy":[92,315]}]]> </metadata> <actions> <action> <name>Approve</name> <description>Approve</description> <script> <![CDATA[com.liferay.portal.kernel.workflow.WorkflowStatusManagerUtil.updateStatus(com.liferay.portal.kernel.workflow.WorkflowConstants.getLabelStatus("approved"), workflowContext);]]> </script> <script-language>groovy</script-language> <execution-type>onEntry</execution-type> </action> </actions> </state> <task> <name>task5175</name> <metadata> <![CDATA[{"xy":[241.20001220703125,145.1999969482422]}]]> </metadata> <assignments> <user/> </assignments> <task-timers> <task-timer> <name>name</name> <description></description> <delay> <duration>1</duration> <scale>second</scale> </delay> <blocking>false</blocking> <timer-actions> <timer-action> <name></name> <description></description> <script> <![CDATA[]]> </script> <script-language>beanshell</script-language> <execution-type>onAssignment</execution-type> </timer-action> </timer-actions> </task-timer> </task-timers> <transitions> <transition> <name>connector9328</name> <target>EndNode</target> <default>true</default> </transition> </transitions> </task> </workflow-definition>
Actual Behavior: publish won't be successful.
Expected Behavior: publish should be successful.
Attachments
Issue Links
- Testing discovered
-
LPS-79288 workflow with timers fail to publish
- Closed