I have a sequence in which I am using NOTIFICATION ACTIVITY.
I need to get the CURRENT PROJECT NAME and THE SEQUENCE NAME in the subjectline of notification activty stage without harding coding its value.
dynamically getting the values of parameters in Sequence
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 27
- Joined: Thu May 22, 2003 4:40 am
- Location: California
Re: dynamically getting the values of parameters in Sequence
Hi,prashanto_dev wrote:I need to get the CURRENT PROJECT NAME and THE SEQUENCE NAME .
You can get the Project name using DSGetProjectInfo (InfoType)
InfoType specifies the information required and can be one of:
DSJ.JOBLIST
DSJ.PROJECTNAME
DSJ.HOSTNAME.
I guess Sequence Name is the job name from where the Notification is called. you can use DSJobName for that.
Use a User Variable stage to get the above values and use them for Notification.
Re: dynamically getting the values of parameters in Sequence
In a User Variable stage, create 2 variables, say ProjName and SeqName. Then, assign the macros DSProjectName and DSJobName for the 2 variables, respectively.prashanto_dev wrote: I need to get the CURRENT PROJECT NAME and THE SEQUENCE NAME
gateleys
-
- Participant
- Posts: 27
- Joined: Thu May 22, 2003 4:40 am
- Location: California