Action to get SQL DB data in the workflow presentation
Hi all
I'm trying to create an action, where I read the data in a SQL database and presented this as (predefined items list) in the presentation of my work.
I have a DB table with names, and I will introduce this name as a list of selected on my display of web pages in my workflow.
I have a workflow where my client needs to select an approver of costcenter and I have all the approvers costcenter in my SQLDB.
I know I can create "Pre-defined answers" with this name, but that I need to manage the DB and the workflow tables and I manage only the DB.
Any who have already done this?
At this point, you should have a list of the columns / rows when you use the plugin object as input. If you must have a fall down then you must either create an action using this object as input and returns an array of string and use it in a field of string entry to a property of the preset list.
I don't know if the plugin SQL has the option to display values in drop down without making such a transformation in action.
You can try it with the download here: http://www.vmware.com/products/datacenter-virtualization/vcenter-orchestrator/plugins.html
It may end up to be much easier to maintain. I mentioned the plugin DB personalized because that's what I've used before and héLas had no chance to work again with the plugin SQL.
Christophe.
Tags: VMware
Similar Questions
-
How to get back my data for the health and the watch Apps once I've restored my phone?
How to get back my data for the health and the watch Apps once I've restored my phone?
From the backup, you're going to be restoration.
If you back up to iTunes, make sure that it is an encrypted backup.
-
I have a new macbook pro and want to install CS3 on it. I followed all the download links. Found my serial number for my Adobe account and get up to date through the whole & get this message ' put in place has encountered an error and cannot continue, contact adobe customer support for assistance ' all I want is for CS3 to install on my new computer so I can continue to work and do not have to spend hours working it help Please. CC is not an option, because I work in a country with no reliable unlimited internet access
New computer means new problems of system operating with the OLD software means
Fix possible Mac 10.10.4 (at least for Premiere Pro) https://forums.adobe.com/thread/1891705
10.10 mac. ? sometimes has problems, often related to the 'default' permissions that need to be changed
-solution https://forums.adobe.com/thread/1689788 of a person
-
Oracle sql for data after the first occurrence of the hyphen
Hi, I need oracle sql get data after the first occurrence of the hyphen.
source of the string:
ABCD - efgh
I just want everything after the ' - '.
someone help me please...
Edited by: 1001076 on 28 may 2013 18:42Handle: 1001076
Status level: Beginner
Join date: April 18, 2013
Messages total: 12
Total Questions: 4 (3 pending)I offer you my condolences; Since you rarely get your questions answered here.
-
Is it possible to get GPS raw data and the sensor data in a single program.
GPS and sensor.h are the bps_event_get_domain (event).
{If (bps_event_get_domain (event) == sensor_get_domain() & bps_event_get_domain (event) == geolocation_get_domain() {)}
The collection of data from the sensors and GPS data in the same program without conflict?
Thank you for your attention.
You must structure your code like:
If (bps_event_get_domain (event) is {sensor_get_domain()})
/ * handle sensor event * /.
} ElseIf (bps_event_get_domain (event) == geolocation_get_domain() {)}
/ * handle geolocation event * /.
}
-
Cannot get my sync data after the reset password
Greetings,
I have reinstalled the OS on my laptop and tried to Resync all my favorites etc. Last time I did this, it was no problem. However, this time, it would not accept my password for some reason any. It kept showing me "password incorrect" even if the password was correct. I had to reset my pass and after that I do not seem to have my data synchronized back. How can I solve this problem and get everything I need again?
Thanks in advance.The synchronization service uses a synchronization key to encrypt the data locally before you download
This sync key is generated internally from the password of your account from Firefox, you need not worry about this.
Without the password, it is not possible to decrypt the data stored on the server, because the good sync key cannot be generated.
This synchronization key changes when you change the password of the Firefox account and you will lose all data stored on the server when you change the password of the account synchronization. -
How to get documents and data to the cloud on my Mac desktop?
After the upgrade to Sierra all my data (documents and desktop) have been transferred to Icloud. I absolutely not want all my data on another server costs me more money. How do I lose all my data safely back on my Mac, without anything? I'm quite t... o... that the decisions of this importance are make with a single click (or without?). Preferably, I do not want to export every file (of the thousands...) by hand, but just change things back to where it was before.
Thanks in advance!
Documents are also in your folder on the drive on your Mac iCloud.
Just disable iCloud drive in iCloud preferences.
Then go icloud.com and connect, then you remove the files on disc to iCloud.
8. how to disable iCloud drive?
To disable iCloud Drive on your iOS device, go to settings > iCloud > iCloud driveand on your Mac, go to the Apple menu > System Preferences > iCloud. If you disable iCloud drive, so you you will manage your files locally, documents are not synchronized or updated your iOS iOS devices 8 or OS X Yosemite or iCloud.com.
-
I just got my new iPhone 6s, until now, I had the iPhone 6.
as I use the Apple Watch I like to keep my health data but do not want to restore the entire backup to have a "fresh" iPhone
Any idea?
Thank you
The only way to restore the health data is to backup the old phone and restore it on the new phone. You must use iTunes backup with active encryption, or backup to iCloud.
-
Slow down execution S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_CLS_DESC,
CLM_CLS_PLN_CAPTR_D.CLM_CLS_PLN_PLN_ID,
CLM_CLS_PLN_CAPTR_D.CLM_CLS_PLN_PLN_DESC,
CLM_CLS_PLN_CAPTR_D.CLM_CLS_PLN_PRDCT_CATEG_CD,
CLM_CLS_PLN_CAPTR_D.CLM_CLS_PLN_PRDCT_CATEG_DESC,
CLM_CLS_PLN_CAPTR_D.CLM_CLS_PLN_PRDCT_ID,
CLM_CLS_PLN_CAPTR_D.CLM_CLS_PLN_PRDCT_DESC,
CLM_CLS_PLN_CAPTR_D.CLM_CLS_PLN_MTL_LVL_CD,
CLM_CLS_PLN_CAPTR_D.HIOS_PLN_ID,
CLM_CLS_PLN_CAPTR_D.HIX_GRP_ID,
OASIS_CLM_MBR_XREF. LGCY_SBSCR_ID,
OASIS_CLM_MBR_XREF. LGCY_MBR_SFX_ID,
OASIS_CLM_MBR_XREF. FACETS_SBSCR_ID,
OASIS_CLM_MBR_XREF. FACETS_MBR_SFX_ID,
OASIS_CLM_MBR_XREF. LGCY_CUST_ID,
OASIS_CLM_MBR_XREF. LGCY_GRP_ID,
OASIS_CLM_MBR_XREF. LGCY_BIL_UNT_ID,
OASIS_CLM_MBR_XREF. FACETS_PRNT_GRP_ID,
OASIS_CLM_MBR_XREF. FACETS_GRP_ID,
OASIS_CLM_MBR_XREF. FACETS_CLS_ID,
OASIS_CLM_MBR_XREF. FACETS_CONVER_MBR_EFF_DT,
IA_OASIS_TOT_PROV_CUR_D.PROV_ID AS BEN_BILLING_PROV,
IA_OASIS_TOT_PROV_CUR_D.PROV_ID AS BEN_ATTENDING_PROV,
IA_OASIS_TOT_PROV_CUR_D.PROV_ID AS BEN_PCP_NUMBER,
IA_OASIS_TOT_PROV_CUR_D.PROV_ID AS BEN_IPA_NUMBER,
EDW. CLM_CAPITN_F.CLM_CAPITN_FRST_SVC_DT_SK,-CAL_DT Dimension is associated and had CAL_DT_SK column
EDW. CLM_CAPITN_F.CLM_CAPITN_LST_PRCS_DT_SK,-CAL_DT Dimension is associated and had CAL_DT_SK column
EDW. CLM_CAPITN_F.CLM_CAPITN_FRST_LOC_DT_SK,-CAL_DT Dimension is associated and had CAL_DT_SK column
EDW. CLM_CAPITN_F.CLM_CAPITN_CHK_DT_SK,-CAL_DT Dimension is associated and had CAL_DT_SK column
EDW. CLM_CAPITN_F.CLM_CAPITN_ADMIT_DT_SK,-CAL_DT Dimension is associated and had CAL_DT_SK column
EDW. CLM_CAPITN_F.CLM_CAPITN_ICN,
EDW. CLM_CAPITN_F.CLM_CAPITN_LN_NBR,
EDW. CLM_CAPITN_F.CLM_CAPITN_PD_AMT,
EDW. CLM_CAPITN_F.CLM_CAPITN_BIL_AMT,
EDW. CLM_CAPITN_F.CLM_CAPITN_ALLOW_AMT,
EDW. CLM_CAPITN_F.CLM_CAPITN_ALLOW_DY_NBR,
EDW. CLM_CAPITN_F.CLM_CAPITN_UNT_OF_SVC_QTY,
EDW. CLM_CAPITN_F.CLM_CAPITN_COB_SAV_AMT,
EDW. CLM_CAPITN_F.CLM_CAPITN_COINS_AMT,
EDW. CLM_CAPITN_F.CLM_CAPITN_RSN_CHRG_AMT,
EDW. CLM_CAPITN_F.CLM_CAPITN_WTHLD_AMT,
EDW. CLM_CAPITN_F.CLM_CAPITN_DED_AMT,
EDW. CLM_CAPITN_F.CLM_CAPITN_SANCT_LAT_CALL_AMT,
EDW. CLM_CAPITN_F.CLM_CAPITN_SANCT_DED_PNLTY_AMT,
EDW. CLM_CAPITN_F.CLM_CAPITN_SANCT_COPAY_AMT,
EDW. CLM_CAPITN_F.CLM_CAPITN_SANCT_PCT_COPAY_AMT,
EDW. CLM_CAPITN_F.SANCT_FLAT_DLR_COPAY_AMT,
EDW. CLM_CAPITN_F.SANCT_HMO_ACCUM_COPAY_AMT,
EDW. CLM_CAPITN_F.CLM_CAPITN_TOT_NEGOT_RT_AMT,
EDW. CLM_CAPITN_F.CLM_CAPITN_LN_NEGOT_RT_AMT,
EDW. CLM_CAPITN_F.CLM_CAPITN_SEC_ALLOW_AMT,
EDW. CLM_CAPITN_F.CLM_CAPITN_GATWY_ID,
EDW. CLM_CAPITN_F.CLM_CAPITN_PROV_AGR_ID,
EDW. CLM_CAPITN_F.CLM_CAPITN_F_SNPSHOT_MO_SK
OF EDW. Partition CLM_CAPITN_F (JAN2012),
EDW. IA_OASIS_GRP_CAPTR_D IA_OASIS_GRP_CAPTR_D,
EDW. IA_OASIS_MBR_CAPTR_D IA_OASIS_MBR_CAPTR_D,
EDW. IA_OASIS_CLM_SPEC_D IA_OASIS_CLM_SPEC_D,
EDW. IA_OASIS_CAPITN_CLM_D IA_OASIS_CAPITN_CLM_D,
EDW. CLM_CLS_PLN_CAPTR_D CLM_CLS_PLN_CAPTR_D,
EDW. OASIS_CLM_MBR_XREF OASIS_CLM_MBR_XREF,
EDW. IA_OASIS_TOT_PROV_CUR_D IA_OASIS_TOT_PROV_CUR_D
WHERE
EDW. CLM_CAPITN_F.CLM_CAPITN_IA_GRP_CAPTR_EDW_SK = IA_OASIS_GRP_CAPTR_D.GRP_CAPTR_EDW_SK (+) and
EDW. CLM_CAPITN_F.CLM_CAPITN_IA_MBR_CAPTR_EDW_SK = IA_OASIS_MBR_CAPTR_D.MBR_CAPTR_EDW_SK and
EDW. CLM_CAPITN_F.CLM_CAPITN_IA_CLM_SPEC_EDW_SK = IA_OASIS_CLM_SPEC_D.CLM_SPEC_EDW_SK and
EDW. CLM_CAPITN_F.CLM_CAPITN_IA_CLM_EDW_SK = IA_OASIS_CAPITN_CLM_D.CLM_EDW_SK and
EDW. CLM_CAPITN_F.CLM_CLS_PLN_CAPTR_EDW_SK = CLM_CLS_PLN_CAPTR_D.CLM_CLS_PLN_CAPTR_EDW_SK and
EDW. CLM_CAPITN_F.MBR_XREF_SK = OASIS_CLM_MBR_XREF. MBR_XREF_SK (+) and
EDW. CLM_CAPITN_F.CLM_CAPITN_IA_BIL_PROV_EDW_SK = IA_OASIS_TOT_PROV_CUR_D.PROV_EDW_SK and
EDW. CLM_CAPITN_F.CLM_CAPITN_ATTND_PROV_EDW_SK = IA_OASIS_TOT_PROV_CUR_D.PROV_EDW_SK and
EDW. CLM_CAPITN_F.CLM_CAPITN_IA_PCP_EDW_SK = IA_OASIS_TOT_PROV_CUR_D.PROV_EDW_SK and
EDW. CLM_CAPITN_F.CLM_CAPITN_IA_IPA_PROV_EDW_SK = IA_OASIS_TOT_PROV_CUR_D.PROV_EDW_SK (+);
--------------------------------------------------------------------------------
Oracle Database 11 g Enterprise Edition Release 11.2.0.4.0 - 64 bit Production
PL/SQL Release 11.2.0.4.0 - Production
CORE Production 11.2.0.4.0
AMT for Solaris: 11.2.0.4.0 - Production Version
NLSRTL Version 11.2.0.4.0 - Production
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
OPTIMIZER_CAPTURE_SQL_PLAN_BASELINES boolean FALSE
optimizer_dynamic_sampling integer 2
optimizer_features_enable string 11.2.0.4
optimizer_index_caching integer 0
OPTIMIZER_INDEX_COST_ADJ integer 100
the string ALL_ROWS optimizer_mode
optimizer_secure_view_merging Boolean TRUE
optimizer_use_invisible_indexes boolean FALSE
optimizer_use_pending_statistics boolean FALSE
optimizer_use_sql_plan_baselines Boolean TRUE
Please suggest how this can be optimized.
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
db_file_multiblock_read_count integer 32
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
DB_BLOCK_SIZE integer 32768
CURSOR_SHARING EXACT string
-
Get and set data using the ActionScript class
Hello
I use the ActionScript class to store the user name and password when the user logs
com package
{
public class Login
{
public function Greeter (initialName:String = "")
{
}
public var uname:String;
password public var: String;
}
}Inside the Componet Login form, I am creating the object of this class of connection and affecting the data as shown in it
var logincomp:Login = new login());
logincomp.uname = UnameTI.text;
logincomp. Password = PassTI.text;
I need these data within an another CustomComponent, is it possiblke to access these data within an another componnet.Can I do this?
var logincomp:Login = new login());var str:String = new String();
Str = logincomp.uname;
Please me tips
I know it's possible with recording and Dispatching Evenets
However, I'm not interested to use DEMONSTRATIONS. I'm using FLEX 3Please advise me if this is possible.
THnaks in advance.
Thanks for helping me learn Flex quickly.
Hello
You use a Singleton class as (class ModelLocator) If Yes, then you can put a single instance of your connection class in this class so that you can access this instance in the world in any component (infact with the app).
Declare an instance of the connection object in the Singleton class like below
var logincomp:Login = new login());
Set the values in a single component, and you can access the values in the other component.
The sample class Singleton as shown below...
package com.model
{[Bindable]
public class ModelLocator
{
private static var instance: ModelLocator;
public var logincomp:Login = new login());
public void ModelLocator()
{
If (instance! = null)
{
throw (new Error ("cannot only one instance of ModelLocator"));
}
}
Public Shared function getInstance (): ModelLocator
{
if(instance == null)
{
instance = new ModelLocator();
}
return instance;
}
}
}If this post answers your question or assistance, please mark it as such.
Thank you
Jean Claude Chari
-
Date of the tabular presentation should show only 1 date every year
can someone please help.
on the date in a table column, can we choose only on or before January 1 of each year.
Apex. Oracle.com
w/u/p: nani5048/test/test
Thank you
Nani
fact
-
Dynamic Action run PL/SQL Code runs is not after 4.2.5 upgrade
APEX 4.2.4 to 4.2.5 11.2 database upgrade
I have a button to click on DA who owns shares run of PL/SQL Code and update point who worked in version 4.2.4 which is no longer running after the 4.2.5 patch.
The PL/SQL procedure has been tested autonomous and it runs correctly.
I tested him DA is actually shot on the click event by adding an alert "DA xxxx pulled" action before the execution of work of PL/SQL action and action alert.
There is also a similar on DA click which makes the action opposite to the DA problem and it works both are configured in the same way:
Static DA, run Code PL/SQL - check waiting for result, and not repress with the same Submit and return items.
Any ideas on a possible cause/solution much appreciated
Fixed it, the question was the Page elements of return of goods on the action of PL/SQL Code:
If the target element was empty the action failed, by adding a value in the database through a normal SQL insert then the insert DA completed successfully.
Removing Page elements at the point of return of the action of PL/SQL and together action update the target element after the DA fires in all scenarios.
But thanks for the lead
-
Using the default date for a variable presentation
In the report, I want to use the default date of the variable presentation.
If I use the query as below, default is correctly.but if I pass the dash prompt date value that is throwing error
Someone help me change the below
request for valid results?
TIMESTAMPADD (SQL_TSI_day, (dayofmonth(date @{asdf}{date '1900-01-01'}) *-1) + 1, date @{asdf} {date ' 1900-01-01'})
Published by: user12255470 on December 2, 2010 12:11
Published by: user12255470 on December 2, 2010 12:12Try this:
TIMESTAMPADD (SQL_TSI_day, (dayofmonth(date '@{asdf}{1900-01-01}') *-1) + 1, date ' @{asdf} {1900-01-01} "")Mark answers quickly.
J
-bifacts
http://www.obinotes.comPublished by: bifacts on December 2, 2010 15:21
-
How to access the BPM 11 g load useful or process varibles in the workflow of ADF
I'm trying to view/edit the data in a user interface that is linked to a database by using a foreign key, requestId. The foreign key comes from a BPM process where it is spent in the workflow, a human task. The foreign key comes process variables or values of payload. I know that I can simply load the payload in BPM with the data in the tables, but I'm looking for a better solution use the ADF business components to view and edit data directly in the user interface.
The BPM process uses a web service to start the process. Web services takes a primary key as a parameter to reference a column in the database table. The data is pre-filled with content and a primary key reference. The first activity is an activity of the user. I want the workflow behind the user activity to accept this primary key and use to locate the line in the database, so related views of the database delimited ADF business components can work to present the data in the user interface.
I tried two approaches to the problem. The first uses the setCurrentRowWithKeyValue operation. The other changes the SQL where clause, used by the ADFbc iterator only returns one row for the given requestId. Both of these approaches fail to work because I don't know how to access the load BPM or variable data entering the workflow. Here is the piece of code that I used to try to define the row using the value of setCurrentRowWithKey:
public String setRequestId() {}
FacesContext context = FacesContext.getCurrentInstance ();
Object requestObj = context.getApplication () .evaluateExpressionGet)
context, "#{bindings."(, Number.class) RequestId.inputValue "};
If (requestObj is nothing)
Returns a null value.
RequestId number;
requestId = (number) requestObj;
ITR DCIteratorBinding = (DCIteratorBinding)
getBindings () .get ("PatfRequestHdrView1");
itr.setCurrentRowWithKeyValue (requestId.toString ());
Returns a null value.
I didn't get very far with the second approach, change SQL where clause, because I do not know Groovy. I think I need something like:
adf.object.viewObj.RequestId. but it is not a viewObject associated with BPM data, so I don't know that this particular expression will not work.
Any help you can give me is greatly appreciated.
Kind regards
MarkTry this code in your method:
FacesContext context = FacesContext.getCurrentInstance ();
String ctx = (String) context.getApplication () .evaluateExpressionGet (context, "#{pageFlowScope.bpmWorklistContext}", String.class);
String tskId = (String) context.getApplication () .evaluateExpressionGet (context, "#{pageFlowScope.bpmWorklistTaskId}", String.class);
IWorkflowServiceClient workflowSvcClient = WorkflowService.getWorkflowServiceClient ();
ITaskQueryService wfQueryService = workflowSvcClient.getTaskQueryService ();
IWorkflowContext wfContext = wfQueryService.getWorkflowContext (ctx);
Task myTask = wfQueryService.getTaskDetailsById (wfContext, tskId);
XMLElement xmlPayload = (XMLElement) myTask.getPayloadAsElement ();
get the payload as a string simple, useful for debugging
java.io.StringWriter writer = new java.io.StringWriter ();
xmlPayload.print (writer);
String payloadAsString = writer.toString ();
extract payload values: use methods in Oracle XDKSee also this post:
-
Msg of error in the workflow after patched to 11.1.2.1.600
Hello!
We recently patched to 11.1.2.1.600 for our planning solution and we get an error msg in the workflow.
If the "hierarchy of planning unit" is configured as 'Free form', we get an error message if users open "Manage trusts", select "Details" of a planning unit and then '' change of status. '' The message error is "is there no valid action that can be performed on the selected planning units. If the "hierarchy of planning unit' is defined as 'Bottom up', it works fine.
Everyone know this behavior in the 11.1.2.1.600 - patch? Is there a solution?
An SR is also raised to Oracle, so I hope we get a response from them soon.
Grateful for answers!
ARO
MartinIts a known behavior dans.600. Change the PHU 'Free form' type to 'Bottom-up '.
See you soon... !!
Rahul S.Published by: Renu on November 27, 2012 15:56
Maybe you are looking for
-
How we present the execution time, memory usage, etc. of an application running the Profiler VI how old habit to do (despite its flaws)? I used DETT, but that seems to only show events of call/return VI. Can she take all these and report statistics V
-
Hello I have a 15 HP computer pc laptop 15-go065NL PN K3F88EA for personal problems I lowered for Windows 8.1 upward for Win 7 64 bit and I had problems with the USB. It seems that after that the OS without decommissioning the USB ports are not more
-
Device USB not recognized - device connected USB has malfunctioned and Windows does not recognize it
I have a HP Pavilion dv4 laptop running Windows 7 Home Edition Premium and the USB ports worked well for a HP deskjet printer and an older Casio digital camera. Then one day, the laptop decided not to recognize the Casio digital camera and gave the e
-
At startup, I repeatedly see a pop-up saying failure of raid access: critical error disk WDC WD5000AAKS-75A7B0 (sata 1.1 port). Since it started my computer lag/stutters all the seconds: music/slider/graphics. At the same time, I received an error me
-
Help update the wireless adapter driver
Is not the user more technically gifted, I have problems with the exact directions for updating my wireless card. Over the last week I have experienced intermittent gel with my wifi connection. It will freeze my browser completely sessions and I get