Executing a Sample Process

gravatar

cell

This snippet demonstrates executing a local process, where its output is stored in a task variable and its arguments are read from another task variable.

published 09.10.12

last updated 09.10.12


Share

                            


<Biml xmlns="http://schemas.varigence.com/biml.xsd">
    <Packages>
        <Package Name="Execute Process" ConstraintMode="Parallel">
            <Tasks>
                <ExecuteProcess 
                    Name="Execute SampleApp" 
                    Executable="C:\users\bimlUser\Documents\SampleApp.exe" 
                    StandardOutputVariableName="Execute SampleApp.User.ProcessOutput" 
                    Timeout="300" 
                    WindowStyle="Hidden"
                    >
                    <Variables>
                        <Variable Name="ProcessOutput" DataType="String" />
                    </Variables>
                    <Expressions>
                        <Expression PropertyName="Arguments">
							RIGHT("0" + (DT_WSTR,2)DAY(GETDATE()), 2) + "-" + 
							RIGHT("0" + (DT_WSTR,2)MONTH(GETDATE()),2) + "-" + 
							(DT_WSTR,4)YEAR(GETDATE())
						</Expression>
                    </Expressions>
                </ExecuteProcess>
            </Tasks>
        </Package>
    </Packages>
</Biml>
                        
You are not authorized to comment. A verification email has been sent to your email address. Please verify your account.

Comments

There are no comments yet.