You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Get Started with Redwood for Oracle Cloud HCM   Begin Now

Token Values are not working in Exception text in Time Device Rule - Fast formula

edited Jul 4, 2019 10:58AM in Workforce Management 3 comments

Summary

Token Values are not displayed in exception text in TDR rule

Content

Hi All,

I was trying to pass token values to exception text in time Device rule but it is not picking up token value. Although, In logs token values are correctly displayed.

I have generated time entries through time collection device process. Please refer the attached screen-shot (highlighted with red color).

Code Snippet

l_tkn1 = 'START_TIME' 
     l_val1 = 'WORKING'
	 l_tkn2 = 'STOP_TIME' 
     l_val2 = to_char(35)
	 	
   /*l_msg_cd = 'HXT:::WCC_OTL_RECALLOT_ERR'*/
       l_msg_cd =pMsgInEarly  
     oMsgStart=  GET_OUTPUT_MSG2('FND',l_msg_cd, l_tkn1 ,l_val1,l_tkn2 ,l_val2)
	/*Ankur */ 
	
		if (oMsgStart <> NullText and tcMeasure > 0) Then ( 
			  OUT_MSG_START_TIME[nidx] = oMsgStart 
			 rLog = add_rlog (ffs_id , rule_id ,  '**DEVIATION_ERR_msg oMsgStart= '  ||  oMsgStart  ) 
		) 
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!