Nearly Correct:
1. put SN into input field nad hit enter (submit)
2. SQL Query search for where is SN deliver Ordernumber (connector call)
4. script takes result of this query and put it into a global value (script)
5. Output field is assigned with that global value (UI action)
now the problem… the text above is in the process designer a chain… and i want to fill in another output field based on the value of the output field ordernumber using another sql query. Then the next field based on the previous field.
the process chain also works when it completes on its own. if you connect the chains you only get to the first script. so that only the order number is picked out but all other fields remain empty…
but i don’t want to press a new button every time just to start a data query. i tried it with variables also with events but it doesn’t seem to start then… or is too fast one after the other so that the first field is still empty when the query starts… maybe a wait loop of half a second can help but i’m not good at that either because javascript is apparently not as easy as you sometimes imagine 😉
Unfortunately I can’t implement the BO because I don’t really know JavaScript… The script I use is a modification of a colleague who uses it in Simplifier, he also got it from someone else. (i one change the variable name)