On 5/8/2012 9:26 AM, stavae wrote:
>
> Hi,
>
> I have a workflow which gets its data from an External Interface
> (Application).
>
> I am trying to use the *Integrated Activity* to map/pick-up the
> "*Comment*" attribute, which has been configured in the Web Services
> SOAP. My intention is to map this "Comment" field to my Email
> Notification, so that it can be included in the body of the emails being
> sent out.


Ok, so there are several steps involved in an Integration Activity.

Here is a pair of articles I wrote about how you would call an
Integration Activity to terminate a running workflow. You want a
different WSDL function than I used, but the framework needed is discussed.

You need to enable sufficient logging in User app so that the server.log
file will contain the actual errors. (I forget the class name, and
cannot remember it free hand...

Often you get a high level error in the server.log that includes the
class, and you then chaneg the log level to DEBUG and watch the trace
after that. (User App web interface, Administration, Logging I think).

> But, I keep running into trouble.
>
> Here is a snap-shot of my workflow :
>
>
> http://i1240.photobucket.com/albums/...m/workflow.jpg
>
>
>
> When configuring the WSDL Property field, I selected : "getComment" as
> the Operation;
>
> I then created a new attribute "Comments", and then mapped this to :
> *flowdata.getObject('Activity/getCommentsOutput/getCommentsResponse/result/comment/comment')*
>
> However, when I tried to execute the workflow, I got the error :
>
>
> PROCESSNAME = MYWORKFLOW
>
> CREATED = MON MAY 07 17:58:10 GMT 2012
>
> COMPLETED = MON MAY 07 17:58:11 GMT 2012
>
> APPROVAL STATUS = ERROR
>
> PROCESS STATUS = TERMINATED
>
>
>
> Obviously, I am doing something wrong.
>
> The thing is : I'm not even sure that the "Integrated Activity" is the
> right way to go here; but, I don't see how else to pick up the
> "Comment" and map it to my Email Notifications.
>
> The document fully tells us what Integrated Activity is; but, it
> doesn't say HOW to go about sorting this out.
>
> Perhaps, the problem lies with the Operation I selected when
> configuring the WSDL module ---- * getComment()* ??
>
>