Workflow Text Editor

Kimball, Schuyler schuyler.kimball at sap.com
Sat Sep 28 19:04:26 EDT 2002


Hi all,
Is the goal to send out one or another of several possible email messages, based on the values of various workflow container elements?  If so, one solution would be to insert a condition step in the workflow (IF &SORG& = 'US01' THEN True ELSE False), and branch to the required email step based on
the result.
 
Kind regards,
  Sky
 
Sky Kimball
Senior Technical Consultant
Professional Services Organization
SAP America, Inc.
 
E  schuyler.kimball at sap.com
http://www.sap.com
 
-----Original Message-----
From: Swam_in [mailto:swam_in at hotmail.com]
Sent: Saturday, September 28, 2002 05:55 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Workflow Text Editor
 
 
Thanks Tomasz. But I am still not clear about your third paragraph. Let me
explain about my situation.
 
I created a workflow template. In the template I used send email task
activity by email wizard( I am in 46c ). I have 2 formats to be sent out
based on 2 different sales org. Now in the body text of the task ( which is
also similar to sapscript editor ) I want to create a following condition
 
if  sorg eq 'US01'
 consider format 1
else.
consider format 2
endif.
 where 'sorg' is the container element and format1 and format2  will be the
format I need to type in. Now how do i accomadate the above condition as per
your explanations in the 2rd paragraph. I just wanted to put forward the
above scenario which will make me understand better..
 
Thanks again..
Swami
----- Original Message -----
From: "Zmudzin,Tomasz,VEVEY,GL-DS/DM" <Tomasz.Zmudzin at nestle.com>
To: <SAP-WUG at MITVMA.MIT.EDU>
Sent: Saturday, September 28, 2002 4:36 AM
Subject: Re: Workflow Text Editor
 
 
> No.
>
> Again, to summarize the discussion:
>
> - if we speak about the editor for task descriptions, you deal with the
> standard SAPscript formatting / functionality. The only limitation is that
> AFAIK it could be difficult (if possible at all) to specify your own ABAP
> program to drive the output. I think limited conditionals are provided by
> the standard (e.g. output variable if its value is not blank). As I
> understand this is the editor that you've been inquiring about.
>
> - if we speak about editing workflow process definitions (i.e. which tasks
> are in the process, what are the bindings etc.) -- there's the graphical
> Workflow Builder plus the obsoleted text editor that I've been referring
to.
> It also supports conditions, as any other control statements of a workflow
> definition. Still -- if you wish, you can forget about it because its
> obsolete and not in the context of your inquiry.
>
> Coming back to your question -- if the standard SAPscript capabilities
don't
> suit you, there's a workaround. Have a container element / object
attribute
> contain the text you want to output, and simply include this item in the
> (SAPscript) task description. That gives you full control of constructing
> the text. It requires a bit of programming, but I see you're not afraid of
> this.
>
> Kind regards,
> Tomasz
>
> -----Original Message-----
>> From: Swam_in [mailto:swam_in at hotmail.com]
> Sent: Friday,27. September 2002 16:37
> To: SAP-WUG at MITVMA.MIT.EDU
> Subject: Re: Workflow Text Editor
>
>
> Thanks Tomasz. Does that mean even conditional statements are not allowed
to
> be used ?
>
> Swami
> ----- Original Message -----
>> From: "Zmudzin,Tomasz,VEVEY,GL-DS/DM" <Tomasz.Zmudzin at nestle.com>
> To: <SAP-WUG at MITVMA.MIT.EDU>
> Sent: Thursday, September 26, 2002 11:21 PM
> Subject: Re: Workflow Text Editor
>
>
> > Swami,
> >
> > yes, you can use control structures in the text editor. But SAP's
workflow
> > does not use a "workflow programming language" as you might expect to
> define
> > the flow. It's thus not a editor like that for SAPscript, but rather
> > something like a tree editing program, allowing you to define the
> individual
> > tasks.
> >
> > But you are discouraged to use the editor in for managing the flows. It
> has
> > been really obsoleted by the graphical builder.
> >
> > Kind regards,
> > Tomasz
> >
> > -----Original Message-----
> > From: Swam_in [mailto:swam_in at hotmail.com]
> > Sent: Friday,27. September 2002 01:33
> > To: SAP-WUG at MITVMA.MIT.EDU
> > Subject: Workflow Text Editor
> >
> >
> > Hello,
> >
> > Can I use programming expression like if statement in the workflow text
> > editor. Is that like sapscript editor ?. Of course nothing
> > happened when I tried a sample if condition. Is there any documentation
on
> > this ?
> >
> > Thanks
> >
> > Swami
> >
>
 


More information about the SAP-WUG mailing list