How to access Workflow variables in Form Designer?
Hello,
I am wanting to set certain subforms to readonly depending on which part of the workflow the form is currently on. I already have the JavaScript code working to set the subform fields to readonly, but now I cannot figure out how to trigger this and where do I keep a variable to keep track of which part of the workflow I am currently in.
I assume I will have a variable in the workflow itself and then I can use the Set Value QPAC to change the variable for each workflow step before it goes to the User QPAC, but what about within the form? I don't understand how the form javascript will know to execute, so how does my workflow "talk" to the form to set these fields to readonly?
Right now the JavaScript code is sitting in the root::initialize part of the form. I was assuming I could have something like "if my workflow variable is equal to XX then set this subform to read only". But, how do I access my workflow variable in the form designer?
Also, since I have digital signatures, I am having to pass all the form data in document variables, will this affect how I need to do this? I was also thinking of possibly accessing/setting a hidden field in the form, but thought the above way may be better.
I hope that made sense!
Thank you,
Jennifer
To follow-up, I spoke with Adobe support this morning and they said that I cannot access Workflow variables within Designer (besides those Workflow variables that are already provided).
He mentioned that if I use the hidden fields, that I would need to Render the form each time before going to the User to trigger this to happen. So, I am not sure what I will do just yet. I probably not worry about making the fields readonly for the time being; it was a little extra thought I had and isn't required for our process.
Thank you,
Jennifer
Similar Messages
-
How to access workflow variables from business classes?
In WLI2.1 the com.bea.wlpi.server.admin.Admin bean was useful to retrieve workflow
variables for a particular instance id.
Is there anything similar in 8.1?
We have to do the following:
In the workflow, when a particular task gets created, a user (claimant of the
task) should be able to pull the workflow xml data in a JSP. The user may update
the data from the JSP and then the updated xml needs to be saved in the workflow.
Then, onTaskCompleted, the updated xml will follow the rest of the workflow.
How to do this is 8.1?
Thanks in advance.Hi,
Pls check for setRequest/setResponse in task control and setTasksRequest/setTasksResponse
i task worker control. Hope this will resolve your issues as they have XmlObject
as parameter.
Regards
Sai
"Aparna" <[email protected]> wrote:
>
In WLI2.1 the com.bea.wlpi.server.admin.Admin bean was useful to retrieve
workflow
variables for a particular instance id.
Is there anything similar in 8.1?
We have to do the following:
In the workflow, when a particular task gets created, a user (claimant
of the
task) should be able to pull the workflow xml data in a JSP. The user
may update
the data from the JSP and then the updated xml needs to be saved in the
workflow.
Then, onTaskCompleted, the updated xml will follow the rest of the workflow.
How to do this is 8.1?
Thanks in advance. -
How to access Oracle Apps 11i forms using Vmware Player?
Hi,
I have installed Oracle Apps 11i on native OS OEL5 Server and guest OS Windows XPP using Vmware Player.Now how to access Oracle Apps 11i forms from Windows XPP using Vmware on my OEL5 Server Desktop?
Thank's
Regard's
RerryHi,
If you mean how to access eBusiness Suite from within the Virtual Machine, then you just navigate to the same URL you normally would. You may need to put the machine alias in your hosts file if you are referencing it via machine name rather than IP address.
If you mean that you want to load the form in forms builder (for example) then you need to FTP the form from server to client (as you normally would) and then open it in your client (XP virtual machine).
If you want to use Workflow Builder (as per your original requirement) then you need to ensure that the TNSNAMES.ora file in the Workflow Builder home has an entry for your instance on Linux, and then you should be able to connect to the database directly.
HTH,
Matt
WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
Have you read the blog at http://www.workflowfaq.com/blog ?
WorkflowFAQ support forum: http://forum.workflowfaq.com -
How to access _global variables in different domain
hi
i am loading a swf in local and this has to be communicate the swf which was in the server(different domain). using the system.security.allowdomail i can access the variables, but i can't able to access _global variable.
Pls tell how to access _global variable in different domain
Thanks in advance
@flashGanesh,
It should work the way you mentioned it. I don't see why it
didn't unless there is a spelling mistake or something. If there
is you should have a got an error message. :-)
I actually don't recommend using globals at all, I would rather
use a PL\SQL Package Specification to define Global Variable.
These variables are valid for the duration of the Session and
they are restricted to Char(255) limit. It reduces the number of
mistakes when converting dates and Such. It also forces the
developers to place all the globals in one place instead of
multiple places. Read Feurstein's book on PL\SQL Programming for
more details.
Sunil
MS Ganesh (guest) wrote:
: Hi Steve,
: I know how to assign values to global variables.
: I did the following
: Form Name : FIRST_FORM
: :global.group_id := 'SUPERVISOR'
: call_form('SECOND_FORM');
: In Second Form
: When New Form Instance
: Message(:global.group_id);
: No message is displayed.
: Please explain to me the steps in detail.
: Thanks in advance.
: Bye
: MS GANESH
: Steve (guest) wrote:
: : Just assign value to global variable i.e.
: : :global.foo := 'anything'; or
: : COPY('anything', 'global.foo');
: : to remove global variable
: : ERASE('global.foo');
: : Note: global variables are always VARCHAR2(255);
: : MS Ganesh (guest) wrote:
: : : Dear OTN Members,
: : : I would like to pass values between forms,
: : : I know it is possible to do it by using Parameters.
: : : But I would like to know how to use global variables to
: : : accomplish the same task.
: : : Thanks in Advance.
: : : Bye
: : : MS Ganesh
null -
How to declare a variable in form
how to declare a variable in form?
Hi,
do you want to create variable in script or smartform?
In scripts to define a variable use the following declaration statement.
DEFINE &<VARIABLE_NAME>&
place this statement as command. we can assign initial value for this by adding VALUE ' ' to above statement.
If your requirement is for smartforms go to global declaration, create a variable there that will be applicable only for smartform.
Hope this will help you,
Regards,
Aswini. -
How to access system variables in Script Component in data flow task in SSIS
Hi,
I am new to SSIS. Can someone tell me how to access system variable in Script Component in SSIS using C# code.
ThanksYou can use the System.Environment.GetEnvironmentVariable(...) to read the variables. An example is here:
http://msdn.microsoft.com/en-us/library/y6k3c7b0.aspx
Vikash Kumar Singh || www.singhvikash.in -
How to access a variable from within a symbol.
How do I access a variable set outside a symbol from within that symbol?
ThanksIf you set a variable on stage ,say
sym.setVariable("stageVariable", "I am stage variable");
You can access it from within a symbol using :
var myVariable = sym.getComposition().getStage().getVariable("stageVariable");
Basically you need to get handle to the symbol in which the variable is defined. -
How to access a variable in if clause?
Hi Friends,
I have declared a varialbe like this
<?xdoxslt:set_variable($_XDOCTX, ’cnt’, 10)?>
Now if i want to access the variable in "if" clause ,something like
<if:cnt=10?>
How can i access it?Hi,
try the following
<?if:xdoxslt:get_variable($_XDOCTX, 'cnt')= 10?>
Your logic goes here
<?end if?>
regards
Rupesh -
How to access Oracle Apps 11i forms from Virtual Machine(Vmware Player)?
Hi,
I have installed Oracle Apps 11i on native OS OEL5 Server and Windows XPP on Virtual Machine using Vmware Player on standalone same desktop.Now how to access Oracle Apps 11i from Virtual Machine(Windows XPP)?
Thank's
Regard's
RerryHi,
Sorry my instance is PROD instead of TEST.
1)Renamed the sqlnet.ora and make the following change in the tnsnames.ora (SERVICE_NAME = PROD) to (SID = PROD) and tryed but same error.
2)Only one oracle homes on the cleint machine
3)The output of tnsping PROD
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Administrator>tnsping PROD 5
TNS Ping Utility for 32-bit Windows: Version 8.1.7.0.0 - Production on 23-FEB-20
10 00:38:40
(c) Copyright 1997 Oracle Corporation. All rights reserved.
Attempting to contact (ADDRESS=(PROTOCOL=tcp)(HOST=SHUBH.hnp.com)(PORT=1521))
TNS-12570: TNS:packet reader failure
Normal ping is ok from both host to guest and guest to host.
Thank's
Regard's
Rerry -
How to access Websphere variables using java
Hi
I want to access Websphere variables using java.
Any help is appreciated!!
Thanks
PWebSphere Application Server has a bunch environmental variables such as log locations. These are held at the "server", "node", and "cell" level.
To access them, you have to get the right context. Something like this, I believe...
InitialContext initialContext = new InitialContext();
initialContext.lookup("foo:bar/baz/blah"); //correct context hereGo to the IBM website for WAS and do a search on namespace bindings. That should give you some more information.
Good luck. -
How to send workflow variable to another List
Hi,
I have created Workflow Variable, from that variable I need to get the information from another list. Could you pls share u r Knowledge.
Regards
TharakIf you want to set a field in another list item, you would run the update item command, select the field you want to change and then select your workflow variable.
Andy Wessendorf SharePoint Developer II | Rackspace [email protected] -
How to access a variable in workflow
Hi All,
1)Can a user-defined variable be accessed in workflow? If yes,how??
2) whether or not every idoc function runs in the workflow or only workflow specific functions can be used there?
(idoc reference guide says nothing abt whether non-workflow functions working under workflowcustomization area)
3)I am trying to pull all the metadata options (multiselect) options in a variable and then i want that variable (which will now contain a string) to be used as a token .how can i go for it?
4)where can we see the output of idoc scripts when we write customization scripts in UCM (apart from the reflection of changes happening if the script is proper)
Thanks in Advance.I think what you are saying is that you want to create a token based on the values in a metedata field that is popuated by a multiselect list. This requires that you have a multiselect list where you add user ids to a metadata field
To do this from the Workflow Admin applet
Options > Tokens... > Add
Give the Token a Name and Description and then paste the following into the script area
You will have to change the value of xReviewers to the name of your custom metadata field.
<$rsMakeFromString("wfReviewers",xReviewers)$>
<$loop wfReviewers$>
<$wfAddUser(wfReviewers.row, "user")$>
<$endloop$>
Is this what you need?
Tim -
How to access environment variables from Oracle Forms
Hi,
Any idea how to use the Environment variables from Oracle Forms.
My basic problem is that from Oracle form I am calling Batch file which calls excel file with a macro.
So i want to check whether the macro was successful or not.
So in my batch file i will set %errorlevel% which I should be able to read from Oracle Forms.
I am able to read the registry from oracle forms, so is there anyway to read environment variable as well?
Thanks!
Avinash.Hello,
Use the TOOL_ENV.Getvar() built-in
Francois -
How to show workflow in oracle forms
Hi,
i want to use oracle workflow in forms in my inhouse application which is in forms10r2 .
could anyone tell me how can i show workflow in forms .
oracle apps is using the bean area to show the work flow .
any method is there .Maybe somewhere in the doc...
http://sqltech.cl/doc/oas10gR2/integrate.1012/b12160/accmon04.htm#monsaf
Francois -
How to access ISR scenaros / PDF Forms to Webdynpro Java
How do we access the ISR Scenarios / PDF Forms created in R/3 to a WebDynPro - Java application. I don't think we have to use BAPIs to access these Adobe Forms.
Any insights is really appreciated.
Thank you very much ....
Waiting for any repliesHi,
Well, As such I learned these HR Forms from this ISR Cookbook itself. I too delivered couple of ISR/PCR based applications. I also refered the Standard Forms and the related BADI's to get to understand the ISR Architecture.
As such,I dont think you can get any precise document for HR Forms.
But, you can always get Custom PCR Documentation from
<b>https://websmp202.sap-ag.de/mss</b>
In this link, access the Documentation-Internet Service Requests and Personnel Change Requests part.
These documents will certainly be useful for you.
Regards,
<i><b>Raja Sekhar</b></i>
Maybe you are looking for
-
How do I move my music from pc to a new mac
I bought a mac a few weeks back but have been afraid to move my ipod and songs over from my pc; not having any luck. Do I have to deauthorize the pc?
-
Kernel Panics and other errors
Ok here's the deal. I was having a lot of problems with my MacBook Pro and reinstalling Leopard did nothing to help, so I took it to the Apple store near me and checked it in. A couple of weeks later I got it back with a new logic board, new hard dri
-
CRM 2013 SP1 new case functions crashes
Hi, We have an issue with a CRM 2013SP1 that has been upgraded from CRM 2011. After the SP1-upgrade the sitemap was in a bit of a mess so I reset the sitemap with XrmToolbox sitemapedito to a CRM 2013-vanilla state and then added the service manageme
-
Safest Way to Penetration Test an Oracle DB with Potential Data Loss
Hi, I was wondering what the safest way to protect Oracle from data loss when running a web application scan. We currently have an external company about to perform a web application scan and they warned us of potential data loss. However, we can't a
-
Selection is not possible - on Equipment Partner(IHPA-PARNR)
I want to Select Maintence orders (CAUFV) for Perticular Partner. And I got is from Table IHPA-PARNR. Now, When I place this Field (PARNR) as Selection Option, It's not giving Results. SELECT objnr parvw parnr kzloesch FROM ihpa INTO TA