Search found 24 matches
- Wed Jul 09, 2025 6:59 pm
- Forum: Flows
- Topic: Script Expression for dynamic Field Values
- Replies: 2
- Views: 5175
Re: Script Expression for dynamic Field Values
The Switch client does not support referencing other field values when defining the value of field. This means you can't dynamically set a field's value based on the value of another one One workaround is to manually create multiple child fields for each possible case and assign them the same tag. ...
- Wed Jul 09, 2025 5:06 pm
- Forum: Flows
- Topic: Script Expression for dynamic Field Values
- Replies: 2
- Views: 5175
Script Expression for dynamic Field Values
Hey all, I have a Submit point that uses lots of conditional Drop downs (If parent equals). I understand this will show the child field/s when meeting the condition, but I am wondering instead of only the child field being dynamic, can I use a script expression to change the child field Value based ...
- Thu May 01, 2025 4:29 pm
- Forum: Node.js scripting
- Topic: Determine Submit Point ID from Multiple Points
- Replies: 8
- Views: 103602
Re: Determine Submit Point ID from Multiple Points
Glad it helped. Sorry, I am back again. In my Typescript, is there a way to gather all metadata at once? Right now, I am getting each one individually like: const Batch_List = ( await job.getVariableAsString (`${DataSetPath} 'Batch #']/value"]`)as string).split(",") const Selected_Da...
- Thu Apr 24, 2025 3:29 pm
- Forum: Node.js scripting
- Topic: Determine Submit Point ID from Multiple Points
- Replies: 8
- Views: 103602
Re: Determine Submit Point ID from Multiple Points
This is the route I took. Thanks for confirming the idea. It pretty solid and is working great!JimmyHartington wrote: ↑Thu Apr 24, 2025 7:40 am I will suggest the same idea as Loïc.
It would look like this when you configure the submit point:
![]()
- Thu Apr 24, 2025 3:28 pm
- Forum: Node.js scripting
- Topic: Determine Submit Point ID from Multiple Points
- Replies: 8
- Views: 103602
Re: Determine Submit Point ID from Multiple Points
You could add a hidden field like "Submit Point ID" that you could later use in the flow? This is a good Idea. What I have decided to do is they all have the same "Submitted_Data" Dataset, and each one has their own SubmitPointID. So now in my script I can always get the SubmitP...
- Wed Apr 23, 2025 5:16 pm
- Forum: Node.js scripting
- Topic: Determine Submit Point ID from Multiple Points
- Replies: 8
- Views: 103602
Determine Submit Point ID from Multiple Points
Hey all, I am not sure if this is the way to go about it or if there is a better alternative. I have three different Submit points that go to 1 flow, each with their own properties and purpose. When the Job arrives at "Order_Export" How can I determine which Submit point the job is coming ...
- Mon Apr 07, 2025 7:57 pm
- Forum: PitStop Server
- Topic: Preflight Actions synced to Action Lists
- Replies: 2
- Views: 37428
Re: Preflight Actions synced to Action Lists
We don't have plans to change that behaviour but you can make a Feature Request and who knows. Thanks for getting back to me and answering my question. I believe I will make a request/s. I have some prefights that share Variable Sets and Actions, so having to go in and update each one is a massive ...
- Wed Apr 02, 2025 6:48 pm
- Forum: PitStop Server
- Topic: Preflight Actions synced to Action Lists
- Replies: 2
- Views: 37428
Preflight Actions synced to Action Lists
Hey all, So, I am setting up a few Preflight Profiles and have noticed that when I add an Action List from the main Database it is embedding it. So, when I change the action List in the Database it doesn't get updated in the Preflight Profile. Is there a way to have the Action Lists sync to their em...
- Sat Mar 29, 2025 9:18 pm
- Forum: PitStop Server
- Topic: Invert B&W PNG to W&B?
- Replies: 6
- Views: 36897
Re: Invert B&W PNG to W&B?
...I was really hoping for a pitstop solution... Hi, I have a action list for PitStop Pro with which bitmap images can be inverted. Maybe it will help. Action list: https://magentacloud.de/s/sdQmjJRsHNH2oXe Thanks for the reply! However, my development ended up needing even more customization so fo...
- Wed Mar 12, 2025 8:45 pm
- Forum: Node.js scripting
- Topic: Syntax for Multiple job.createchild()
- Replies: 5
- Views: 38921
Re: Syntax for Multiple job.createchild()
Hi, In order to create a child job, you need to give a path to this new job as a string. You are also missing an async/await on your create_Job function. Note that when you create a new child job, it must NOT be the same path as the original job (as it will be moved when the .sendTo... is executed....
- Wed Mar 12, 2025 12:27 am
- Forum: Node.js scripting
- Topic: Syntax for Multiple job.createchild()
- Replies: 5
- Views: 38921
Re: Syntax for Multiple job.createchild()
exactly Back again, While this was the solution to my original issue, I am kind stuck on a similar issue now. Is there by chance a way to pass the job instance to another function? I'm using async Job arrived for one input job, but I am making lots of jobs from that one file. It works if the child ...
- Tue Mar 04, 2025 2:16 pm
- Forum: Node.js scripting
- Topic: Syntax for Multiple job.createchild()
- Replies: 5
- Views: 38921
Re: Syntax for Multiple job.createchild()
exactly Okay thanks! That indeed worked. I had been running into issues with this. I had the right syntax in the script, but I had also forgotten to remove and extra send to null after the first one. So, I was getting the error "Have you called any sendTo method already?" . Everything mak...
- Tue Mar 04, 2025 11:34 am
- Forum: Node.js scripting
- Topic: Syntax for Multiple job.createchild()
- Replies: 5
- Views: 38921
Syntax for Multiple job.createchild()
Hey all, So, I am used to creating one child job and using send to data, though now I have encountered something I am not sure how to accomplish. I have a job "Input Job" but then I need to create two child jobs from that one each with their own Private Data. What would the syntax be for t...
- Thu Feb 20, 2025 2:28 pm
- Forum: Action Lists
- Topic: Select only Largest Lineart Path
- Replies: 3
- Views: 22774
Re: Select only Largest Lineart Path
Well, Freddy, that is what I was needing to accomplish my action list! I altered it some by adding "Split in subpaths" after the "Add trace path" as it adds all paths to it main object. As you have mentioned before I have RTFM, though my newbie brain missed those actions & co...
- Wed Feb 19, 2025 5:03 pm
- Forum: Action Lists
- Topic: Select only Largest Lineart Path
- Replies: 3
- Views: 22774
Select only Largest Lineart Path
After adding a trace path and the results have multiple Sub paths, how can I select ONLY the Largest OR all of the smaller paths? The attached image shows my goal of Adding the Biggest Path in Red to one Layer and All Smaller Sub Paths in Green to another.