WF Binding

Paul Batey paul.batey at intelligroup.com.au
Wed May 11 19:43:58 EDT 2005


It sounds as though the value you would like to put into your task text is the result of a method.  The only ways you can do this are:
 
1) Have a previous step that executes the method and returns the value to the workflow container (you need to create a compatible workflow container element).  This can then be passed into the next task (again create a compatible task container element and flag it as import) where you can use is as an expression (I think that's what Mark was getting at)
2) If the method is just returning a list of values related to the object (i.e. it is just information and not an operation), perhaps you should consider using an attribute instead of a method.  Then you can use the attribute in the task text without a previous background step.
3) Use programmed binding.
 
As Mark says, the result of the method is after its execution so the task.
 
Cheers,
 
Paul

________________________________

From: sap-wug-bounces at mit.edu on behalf of Nav Sac
Sent: Thu 12/05/2005 3:12 AM
To: sap-wug at mit.edu
Subject: Re: WF Binding



Here is what I need to know. Would like to insert some values in Description
Tab using Insert Exrpression coming from the Task which in turn is getting
values from the Business Object.
Or if there is any other alternate way todo it.

Would appreciate it.

Thanks.

>From: Mark Pyc <mark.pyc at gmail.com>
>Reply-To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
>To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
>Subject: Re: WF Binding
>Date: Wed, 11 May 2005 10:41:30 +0100
>
>G'day Nav Sac,
>
>Not sure what the real question is. You seem to understand the
>situation. If a method returns some values, then the container fields
>can't contain those values until the method has actually executed.
>
>When you speak of including a value in the workitem text, I assume you
>mean of the next workitem (for the next step in the Workflow). You
>can't include a value in the text of a workitem whose job in life it
>is to return that value.
>
>In the next step however you can bind the elements into task container
>and use them to your hearts content.
>
>Maybe I'm missing the point entirely.
>
>Have fun,
>Mark
>
>
>On 5/11/05, Nav Sac <navsac20 at hotmail.com> wrote:
> > Can someone explain the binding process in WF. I have a customized
>business
> > object which extends from BUS2054. One of the method returns a export
> > parameter which is a structure and does contain multiple values. I
>created a
> > task which needs to get the value of export parameter. And also in the
> > Description tab of the task, I would like to insert a runtime value
>coming
> > from the WF COntainer (probably the first value coming from the
>structure
> > returned by the export parameter - created by inserting the expression).
> >
> > I ran the Workflow in diagnosis mode:
> > Just before executing this task in the WF the source container or target
> > container doesnt have any values but after executing this task the
>contents
> > of both the source container and task container shows the values of the
> > structure.
> >
> > Any help in this regard is greatly appreciated.
> >
> > Thanks.
> >
> > _________________________________________________________________
> > Express yourself instantly with MSN Messenger! Download today - it's
>FREE!
> > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> >
> > _______________________________________________
> > SAP-WUG mailing list
> > SAP-WUG at mit.edu
> > http://mailman.mit.edu/mailman/listinfo/sap-wug
> >
>
>_______________________________________________
>SAP-WUG mailing list
>SAP-WUG at mit.edu
>http://mailman.mit.edu/mailman/listinfo/sap-wug

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug




-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 6959 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20050512/f5d95858/attachment.bin


More information about the SAP-WUG mailing list