Hi
There are two ways to do this they are as follows:
1)we can use a command task anywhere in the workflow or worklet to run the shell commands.
2)In the session task we can call reusable command task in the pre-session post_session property to run shell commands.
or
we can write pre-session or post-session commands in the session.
we can use server variables and session variables in the pre and post-session shell commands but not in the standalone command task.
praveena