-
Type:
Feature Request
-
Status: Completed
-
Priority:
Minor
-
Resolution: Implemented in Platform
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Business Productivity, Business Productivity > Kaleo Designer
-
Labels:
1. Go to Control Panel -> Kaleo Designer.
2. Edit Single Approver.
3. Do not any action in edit page, directly click Publish.
*Result: *Generated workflow is different from original. Please see the below defination.
Generated:
<notification>
<name>Review Notification</name>
<template> <![CDATA[${userName} sent you a ${entryType} for review in the workflow.]]> </template>
<template-language>freemarker</template-language>
<notification-type>user-notification</notification-type>
<recipients>
<user/>
</recipients>
<execution-type>onAssignment</execution-type>
</notification>
Original:
<notification>
<name>Review Notification</name>
<template>${userName} sent you a ${entryType} for review in the workflow.</template>
<template-language>freemarker</template-language>
<notification-type>email</notification-type>
<notification-type>user-notification</notification-type>
<execution-type>onAssignment</execution-type>
</notification>
In view mode, <recipients> is existed in <notification> by default, so this will be added when publish the form in view mode. and <notification-type> only can be set for one in one <notification>. If I publish this in view mode, it will fetch view desgined workflow. This will create one different workflow with the original, even though I didn't do any change.
Expected Behavior: Please improve UI desgin so that workflow definition is not changed.