Professional Documents
Culture Documents
/usr/bin/bash
# Sample pmcmd script
#-----------------------------------------------------------------
# Assigning Workflow Variables
#-----------------------------------------------------------------
PM_HOME=<INFA PATH>
inf_server=<INFA SERVER NAME- DEV/UAT/PRD>
inf_domain=<INFA DOMAIN>
wf_folder=<PERSONAL_PROMO>
inf_user=<inf_user1>
inf_pwd=<password>
wf_name=<wf_Connected_lookup>
#-----------------------------------------------------------------
# Start the workflow
#-----------------------------------------------------------------
#-----------------------------------------------------------------
# Fetching workflow status
#-----------------------------------------------------------------
$wf_name.Status=$?
#-----------------------------------------------------------------
# Echo status message as per workflow status
#-----------------------------------------------------------------
elif
fi