Question

Is there any function to get the property type of the property like date or datetime or text etc in

Is there any function to get the property type of the property like date or datetime or text etc in activity

Comments

Keep up to date on this post and subscribe to comments

September 23, 2019 - 8:00am

Use function pyGetTypeForProperty which returns prpc data type of the Given property.

September 24, 2019 - 6:05am
Response to Rachit_Agarwal

it is not working with above fucntion.Value is coming as blank when i use above funcion.The property is stored on local property ,which is set dynamically and when i use local variable in above function .. i am getting blank value

 

September 24, 2019 - 6:16am
Response to rajivr74

Can you please explain - The property is stored on local property, which is set dynamically? Screenshots will help.

September 24, 2019 - 7:52am
Response to Rachit_Agarwal

Hi , i have used java step where I am getting the proeprty from step page and finally used 

type=pega_rulesengine_reportingutils.pyGetTypeForProperty(propertyName,tools);

 

but its returning value as null value.(type as null)..

Even I have tried with proeprty set and storing the output of function in param.(param.test=@pyGetTypeForProperty(property,tools)

I am getting return value as null