Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Knowledge Partner
Knowledge Partner
106 views

Re: Using Integrated Activity to map/pick-up the "Comment"

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/gg494/novellidm/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()* ??
>
>


Labels (1)
0 Likes
1 Reply
Knowledge Partner
Knowledge Partner

Re: Using Integrated Activity to map/pick-up the "Comment"

On 5/8/2012 12:51 PM, Geoffrey Carman wrote:

> 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.


And an actually link would help, right?

http://www.novell.com/communities/node/12187/using-soap-terminate-running-workflow-part-1
http://www.novell.com/communities/node/12200/using-soap-terminate-running-workflow-part-2

(Hardware error, loose nut behind the keyboard).


> 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/gg494/novellidm/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()* ??
>>
>>

>


0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.