Script in Checkpoint

Post Reply
rhd_ole
Member
Posts: 155
Joined: Mon Jan 24, 2022 5:36 pm

Script in Checkpoint

Post by rhd_ole »

Hi All,

I curious if it's possible to pass a swtich variable as you normally would in javascript but use in a database query within the script.

For example, Privatedata of "job_number"

And then pass that into the query within the javascript.. So far I haven't been able to do that. I'm using to to pull more info about the job from our MIS based on the job number.
Color Science & Workflow Automation
flussidicaio
Member
Posts: 25
Joined: Thu May 03, 2018 6:07 pm

Re: Script in Checkpoint

Post by flussidicaio »

rhd_ole wrote: Thu Sep 05, 2024 5:27 pm Hi All,

I curious if it's possible to pass a swtich variable as you normally would in javascript but use in a database query within the script.

For example, Privatedata of "job_number"

And then pass that into the query within the javascript.. So far I haven't been able to do that. I'm using to to pull more info about the job from our MIS based on the job number.
Yes you can with legacy scripting database module:
https://cdn.enfocus.com/manuals/Develop ... class.html
Post Reply