problem in sending mails using service task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2013 09:12 AM
here, i am using activiti 5.9 with JPA and spring integration.In my configuration file simple i use service task with type="mail" but it not recognized.
my mail server configuration are correct.
<serviceTask id="alertMail" name="sending alert mail" type="mail">
—–
——
</serviceTask>
any alternative way for sending mail in activiti…..
thanks in advance for your answers………….
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2013 09:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2013 12:24 AM
i am not understanding what u says…….
Actually my configuration like
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns


<process id="processId" name="general-info">
———–
——-
<serviceTask id="alertMail" name="sending alert mail" activiti:type="mail" >
—–
——
</serviceTask>
——
———
</definitions>
here,when ever i am using activiti:type="mail" getting
error is :
"Multiple annotations found at this line:
- cvc-enumeration-valid: Value 'activiti:mail' is not facet-valid with respect to enumeration '[shell]'. It must be a value from the
enumeration.
- cvc-attribute.3: The value 'activiti:mail' of attribute 'activiti:type' on element 'serviceTask' is not valid with respect to its type, 'null'.
- Start tag of element <serviceTask>"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2013 12:36 AM
Multiple annotations found at this line:
- cvc-attribute.3: The value 'mail' of attribute 'activiti:type' on element 'serviceTask' is not valid with respect to its type, 'null'.
- cvc-enumeration-valid: Value 'mail' is not facet-valid with respect to enumeration '[shell]'. It must be a value from the
enumeration.
my file is:
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:activiti="http://activiti.org/bpmn"
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns

xmlns

expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/test">
<process id="myProcess" name="My process" isExecutable="true">
<startEvent id="startevent1" name="Start"></startEvent>
<serviceTask id="sendMail" name="sending mail" activiti:type="mail" >
<extensionElements>
<activiti:field name="from" expression="asss@xxx.com" />
<activiti:field name="to" expression="xyxz@xxx.com" />
<activiti:field name="subject"
expression="Your order has been shipped" />
<activiti:field name="text">
<activiti:expression><![CDATA[ This test mail for application ]]>
</activiti:expression>
</activiti:field>
</extensionElements>
</serviceTask>
<endEvent id="endevent1" name="End"></endEvent>
<sequenceFlow id="flow5" sourceRef="sendMail" targetRef="endevent1"></sequenceFlow>
<sequenceFlow id="flow6" sourceRef="startevent1"
targetRef="sendMail"></sequenceFlow>
</process>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2013 06:46 AM
Multiple annotations found at this line:
- cvc-attribute.3: The value 'mail' of attribute 'activiti:type' on element 'serviceTask' is not valid with respect to its type, 'null'.
- cvc-enumeration-valid: Value 'mail' is not facet-valid with respect to enumeration '[shell]'. It must be a value from the
enumeration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2013 09:47 AM
see this problem…………
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2018 10:40 PM
How?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2013 04:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2013 08:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2013 11:13 AM
You can safely ignore the XSD-warnings, the activiti-XSD is out of date
Will it be updated?
