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

Manipulate a report variable and use it in column expression

Received Response
20
Views
3
Comments
edited Jul 17, 2018 9:35AM in Integrations and APIs 3 comments

Content

Hi,

I have created a variable $estimatedDate and changing its value from custom script as :

$params['param_args']['param_item0']['val'] = $incident->CustomFields->c->target_resolution_date? $incident->CustomFields->c->target_resolution_date_prev + $rows[0][7]->val + 108000 : null;

$rows[0][10]->val=$params['param_args']['param_item0']['val'];

I can view the latest value of variable in 11th column. But if in another column definition I give $estimatedDate and see the result. This do not show the updated value. Can anyone please suggest how I can update a variable value and use it in column expression of a report.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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