Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Is Global Variable defined the workflow model can be used in job instantiation form
anjani
Hi,
I am using workflow modeler with teamsite 6.7.1 on Solaris.
I want to know can i use the global variable in a script in the workflow job instantiation form?
I mean to say that is the gloabl variables are created before the job is actually started.( i.e. - Is the global variable created after clicking on the Start Jon in the workflow instantiation form)
Thanks in advance.
A.S.
Find more posts tagged with
Comments
moonkhanna
what you can use.. if you provide your scenario, you will get better advice.
dolly1
Hi,
I wanted to ask a similar question: Here is my scenario
On click on new job, i wanted a workflow model to get inititaed.
Before a job can start i need to check the following things:
1. If the user has selected a DCR before clicking of new job.
2. If the DCR is not already attached with a workflow.
These 2 tasks were pretty straight forward while using WFT, I am not sure what is the best way while we use workflow model.
Also after doing the above mentioned validations, i need to show a form to the user, ask him to validate some already filled in values (these values will come from the same DCR he has selected to pass through the workflow). If the user does some changes these need to be saved in the DCR back again. Ideally in my case these things should happen before the job starts.
What solution I can think of is:
Workflow model provides a feature of invoking a DCT when the workflow model is selected to start.
On load of this DCT, in Java script, call an ipl file, pass the DCR path to it and check if the DCR is not already in some workflow.
Also once these validations are successful, call an ipl or JAVA file, parse the selected DCR and assign these values to the global variable defined in the workflow model. Not sure if this funda is correct.
Now when the user changes some fields again read these values from the form, parse the DCR again and set the changed values in the DCR.
These are some initial thoughts, not sure if these are achievable. Please validate also please suggest any better approaches.
Any help will be much much appreciated.