Calling methods in Send Mail step

Mike Pokraka wug at workflowconnections.com
Mon Mar 5 11:37:42 EST 2012


Hello Volker,

Unfortunately you can't use functional methods in Task descriptions. This
is not a limitation of the workflow system; it's because it uses the
rather primitive and OO-unaware SapScript for the work item description.

This is a bit misleading when using the email step as it tries to present
a pretty frontend to hide SapScript. You can use a container element on
the step for the methods needed in texts and just double up on the
binding:
WFOBJECT -> TSOBJECT, and
WFOBJECT.METHOD1( ) -> TSELEMENT1
Then use TSELEMENT1 in your description.

Hope that helps,
Mike


On Mon, March 5, 2012 2:47 pm, Wegert, Volker wrote:
> Hi all,
>
> I'm trying to use a functional method inside an expression of a Send Mail
> step - &OBJECT.METHOD()& - with varying results. It works as long as the
> expression is used in the subject line. If I use the very same expression
> in the message body, nothing is inserted. Is this a known issue or a bug
> that I should report?
>
> Thanks
>   Volker Wegert
>
>
>
>
> _____________________________________________
> HELIOS IT Service GmbH
>
> Volker Wegert
>
>
> E-Mail: volker.wegert at helios-kliniken.de
> <blocked::mailto:volker.wegert at helios-kliniken.de>
>
> Haus 211, Zimmer D 018
> Schwanebecker Chaussee 50 - 13125 Berlin
> www.helios-kliniken.de <http://www.helios-kliniken.de/>
> Telefon 030 / 9401 17338
>
>
> Geschäftsführer: Enrico Jensch
> Sitz der Gesellschaft: Berlin
> Handelsregister: Berlin-Charlottenburg HRB: 101458 B
>
> P Helfen Sie mit, die Umwelt zu schonen - müssen Sie diese Mail wirklich
> ausdrucken?
>
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>




More information about the SAP-WUG mailing list