List Info

Thread: Re: Pmcmd command and DOS batch file




Re: Pmcmd command and DOS batch file
country flaguser name
United States
2008-06-11 06:43:34

--- In informaticadevelopment%40yahoogroups.com">informaticadevelopmentyahoogroups.com, "Nico Heinze"
<grollnar...> wrote:
&gt;
> --- In informaticadevelopment%40yahoogroups.com">informaticadevelopmentyahoogroups.com, "globalitconsult"
&gt; <globalitconsult> wrote:
&gt; >
>; > Hi everybody,
> >
> > I'm trying to launch workflows and sessions via command line
>; > pmcmd within a DOS batch file. My database is a SQL-Server.
> >
> > For a session, I have to indicate in the pmcmd the workflow
> > associated. I would like to not indicate the workflow,
> > just with the name of the session as input parameter
> <snip&gt;
>
> I beg your pardon, but in my opinion this is not a safe approach.
You
&gt; cannot ensure that the name of a session instance is unique across
a
>; folder, let alone across a whole repository. So why do you insist
on
&gt; using a query to retrieve the workflow name first? To me this looks
&gt; like a possible cause of trouble in the long run.
>;
> Despite that, what you can do is to build a "controlling&quot; workflow
to
&gt; which you provide the name of the session to execute as a
parameter;
> this workflow would first retrieve the name of all workflows from
the
&gt; repository (using one of the metadata exchange views) and then
build a
> "pmcmd" invokation script which is then executed as a post-session
> command.
>
> Regards,
> Nico
>;

Hi,

Thanks for your response.

I succeeded. Although a session name is used by many workflows, the
purpose of this session is the same so if a session is used by many
workflows. I take the first folder/workflow returned by the SQL
request.

It's very basic, I need to launch a session via pmcmd command by
using a DOS batch file which receives the session name as the sole
input parameter. For me using an additional workflow is too heavy.

Regards,
Abdul-Salam

__._,_.___
.

__,_._,___
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )