Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Token problem.URGENTT

Highlighted
Sevilay
Collector

Token problem.URGENTT

Hi,

in the risk workflow ,we send notifications to assigned person.
When the project managers are more than one ,the folowiing token is not working correctly:

[USR="[PRJ="[REQ.P.KNTA_MASTER_PROJ_REF]".PROJECT_MANAGER_USERNAME]".FULL_NAME]

It shows the result as the following:

Project Manager : [USR="1990HYAG,6422EZOZ".FULL_NAME]

It should be like that :
"HAMDI YAGAR","ELIF OZBAY".
This means full name of the project managers should be seen.

Thanks a lot.























5 REPLIES
Mahen M
Honored Contributor

Re: Token problem.URGENTT

I hope you need to have ".TO_STRING" suffix after your username token.

I think the current project (whose Project mangers "HAMDI YAGAR","ELIF OZBAY") are created in the previous version of PPM.

Regards,
Mahendran M
Sevilay
Collector

Re: Token problem.URGENTT

Hi,

no not that.I mean we are using the same version of PPM from the beginning.PPM 7.5

Can you please write the full token ?

Did you try it or did you have risk notification mail in your risk workflow and do you have any projects which are managed by more than one project manager?
How did you show their name in the notification email body?

Thanks.
Mahen M
Honored Contributor

Re: Token problem.URGENTT

If you are using the same version means then why some Projects shows the PM names as 'full_name' and why some show 'username' is the question I too have.

[USR="[PRJ="[REQ.P.KNTA_MASTER_PROJ_REF]".PROJECT_MANAGER_USERNAME.TO_STRING]".FULL_NAME.TO_STRING]

I have a portlet which takes the project manager(attached)

Regards,
Mahendran M
Sevilay
Collector

Re: Token problem.URGENTT

Hi Mahen,

unfortunately it didn't work.The result is :

Project Manager : [USR="[PRJ="33783".PROJECT_MANAGER_USERNA ME.TO_STRING]".FULL_NAME.TO_STRING]

I don't have a portlet.I did it in one step of the Risk Management workflow at the notification tab where the html code is written.

Mahen M
Honored Contributor

Re: Token problem.URGENTT

Try removing the outer TO.STRING

The TO_STRING will convert "1990HYAG,6422EZOZ" as '1990HYAG','6422EZOZ', It will not convert username to FULL_NAME

Try using User_id

[USR="[PRJ="[REQ.P.KNTA_MASTER_PROJ_REF]".PROJECT_MANAGER_USER_ID]".USER_ID]

Regards,
Mahendran M
//Add this to "OnDomLoad" event