Process Mapping Logo

Process Mapping - Forums

Sharing 19 years of knowledge and experience

 
Metastorm BPM forums
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
Jerome

Avatar / Picture

Guru
Registered:
Posts: 5,507
Reply with quote  #1 

Passing Flag Data from a Command Line

Last edited: 13 Apr 2005


The information in this article applies to product: e-Work all versions

Issue

  • The Designer User Manual states that when raising a flag from outside of e-Work "You may define any flag data to be passed along with the flag. If more than one piece of flag data is to be passed they are delimited with tabs. If you are passing multiple amounts of flag data, the entire switch must be encapsulated in double quotes."

    Here is an example of eRaiseFlag.exe /FlagName:<name> /FlagFolder:<folder id> /FlagData:<flag data> /ServerName:<server name> that passes 4 pieces of flag data:

    eRaiseFlag.exe /FlagName:MyFlag /FlagFolder:0000000000000000000000000000600 "/FlagData:subject1<tab>product1<tab>form1<tab>details1" /ServerName:MyServer

    Each occurrence of <tab> in the above command would require that a tab be inserted on the command line.

Resolution

  • By default, a tab character cannot be inserted on a command line. To enable this, a change must be made to the following registry key(s):

    HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor
    or
    HKEY_CURRENT_USER\Software\Microsoft\Command Processor

    The DWORD 'CompletionChar' can be set to
    0 - disabled
    1 - this will enable you to enter a tab with the 'tab' key

    If HKLM and HKCU are different, HKCU has precedence.

Keywords: kb538


__________________
Post an example, and we will have a much better idea what the problem is. In about 90% of posts, the problem is one of communication. Examples bridge that gap.
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:


Create your own forum with Website Toolbox!