How do I get the reference for the accountId?
Hello experts,
I am currently running a deferred task, for which I need the reference to the accountId.
Heres what I am doing:
Under the Activity tag, I have the tag:
<Variable name='view'/>
Under the Action tag, I have the checkoutView.
Heres what I want:
I now want the value of accountId to pass it as an arguement to a method I am invoking.
I tried getting the accountId through:
accountId,
waveset.accountId,
view.waveset.accountId, etc,
but it always gives back a null value.
Any suggestions, experts?
Thanks.
Ok, sorry. Our lighthouse ID is the same as most of our user ids.
first, I assume you are using: <ref>id</ref>.<br><br>
You can use a view to check out the user object and get any thing you want. In the view, pass it the id.<br><br>
As a faster method <u>and</u> if you only want to reference a IDM var, as the post above says, you can use:<br><br>
<invoke name='getValueAsString'><br>
<invoke name='getWSAttribute'><br>
<getobj><br>
< s >User:< /s ><br>
<ref>userId</ref><br>
</getobj><br>
< s >fullname< /s ><br>
</invoke><br>
</invoke><br>
Be sure to remove the space from the < s > and the < /s >.
Similar Messages
-
How can I get a reference to the Local interface of a EJB 3 session?
Hi,
How can I get a reference to the Local interface of a EJB 3 session?
My session implements both the local and remote interfaces, so in my client, when I look up the remote interface using the following code, I did get a reference
processor = (IItemProcessorRemote)initialContext.lookup(IItemProcessorRemote.class.getName());but if I also look up the local interface in th eclient using this:
processorLocal =(IItemProcessor)initialContext.lookup(IItemProcessor.class.getName());I got errors like the following, do you know why? Thanks a lot!
Exception in thread "main" javax.naming.NameNotFoundException: sessions.IItemProcessor not found
at com.sun.enterprise.naming.TransientContext.doLookup(TransientContext.java:203)
at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:175)
at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:61)
at com.sun.enterprise.naming.RemoteSerialContextProviderImpl.lookup(RemoteSerialContextProviderImpl.java:116)
at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:121)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:650)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:193)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1705)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1565)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:947)
at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:178)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:717)
at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:473)
at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1270)
at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:479)BTW, findItemByTitle(String title) is a business method in my ItemProcessor session bean.
public String findItemByTitle(String title) {
AuctionItem item;
String result = null;
try {
Query query = entityManager
.createNativeQuery("SELECT i from AuctionItem i WHERE i.title LIKE : aTitle");
query.setParameter("aTitle", title);
item = (AuctionItem) query.getSingleResult();
result = item.toString();
} catch (EntityNotFoundException notFound) {
} catch (NonUniqueResultException nonUnique) {
return result;
} -
Please help. My ipod classic could not be recognised by itunes when I connect my ipod to PC. Previously it has been recognised before I updated. This was a while ago now and so I removed all apple files and re installed the latest itunes but am having the same problem.
When I download itunes, it says that Ipod Service failed to start. I checked the services under task manager and when I try to start it, it says access denied. How to I get access and for the ipod service to start and run?Some anti-virus programs (e.g., McAfee) have this rule that can be invoked under the "maximum protection" settings: PREVENT PROGRAMS REGISTERING AS A SERVICE. If that rule is set to BLOCK, then any attempt to install or upgrade iTunes will fail with an "iPod service failed to start" message.
If you are getting this problem with iTunes, check to see if your anti-virus has this setting and unset it, at least for as long as the iTunes install requires. Exactly how to find the rule and turn it on and off will vary, depending upon your anti-malware software. However, if your anti-virus or anti-malware software produces a log of its activities, examining the log may help you find the problem.
For example, here's the log entry for McAfee:
9/23/2009 3:18:45 PM Blocked by Access Protection rule NT AUTHORITY\SYSTEM C:\WINDOWS\system32\services.exe \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\iPod Service Common Maximum Protection:Prevent programs registering as a service Action blocked : Create
Note that the log says "Common Maximum Protection: Prevent programs registering as a service". The "Common Maximum Protection" is the location of the rule, "Prevent programs registering as a service" is the rule. I used that information to track down the location in the McAfee VirusScan Console where I could turn the rule off.
After I made the change, iTunes installed without complaint. -
How I could get a receipt for the purchase i made in the app store?
I just purchased an app for my iMac and I was wondering how I could get a receipt for the purchase?
The redeipt comes in the your email automatically in 24 to 48 hours.
-
How do I get a manual for the i4s phone?
how do I get a manual for the i4s phone?
<Re-Titled By Host>The iPhone manuals are primarily user guides for a specific operating system version (e.g. iOS 7.1). You can download one from: Apple - Support - Manuals
-
Did anyone else have problems with in App purchases from an IPod? I get charged twice for the same order... How do I get a credit for the coins not received?
Try contacting iTunes support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
-
How can I get null values for the later weeks
Hi All,
When I execute this code I get the records till current week.
How can I display the output so that I get null values for the later weeks. (with the help of v_numOfWeeks variable in the code)
Thanks,
Vikram
DECLARE
v_query VARCHAR2(4000);
TYPE ref_cursor IS REF CURSOR;
v_refcur ref_cursor;
v_sum NUMBER;
v_id NUMBER;
v_name VARCHAR2(1000);
v_weeknum NUMBER;
v_pernum NUMBER;
v_numOfWeeks NUMBER := 5;
BEGIN
v_query := ' SELECT SUM(product_bkg), postn_id, postn_tbl.postn_name, b.week_num, b.period_num
FROM ops_cv_extract b, (SELECT row_id, desc_text postn_name
FROM s_postn) postn_tbl
WHERE lvl_6_id = 5767
AND fiscal_year = 2008
AND b.week_num < 4
AND b.period_num = 3
AND b.postn_id = TO_NUMBER(postn_tbl.row_id)
GROUP BY postn_id, postn_tbl.postn_name, b.week_num, b.period_num
ORDER BY postn_tbl.postn_name, b.week_num';
OPEN v_refcur FOR v_query;
LOOP
FETCH v_refcur INTO v_sum, v_id, v_name, v_weeknum, v_pernum;
EXIT WHEN v_refcur%notfound;
dbms_output.put_line('P'|| v_pernum||'W'|| v_weeknum||' '||v_name||' '||v_sum);
END LOOP;
END;
This is the output when I execute this code.
P3W1 COMM CNTRL ISAM 213 26961.61
P3W2 COMM CNTRL ISAM 213 12870.4
P3W3 COMM CNTRL ISAM 213 245.88
P3W1 COMM CNTRL ISAM 273 72831.2
P3W2 COMM CNTRL ISAM 273 8739.38
P3W3 COMM CNTRL ISAM 273 3764.92
P3W1 COMM CNTRL TAM 213 49844
P3W2 COMM CNTRL TAM 213 20515.17
P3W3 COMM CNTRL TAM 213 16167.46
P3W2 COMM CNTRL TAM 216 12561.4
P3W3 COMM CNTRL TAM 216 2027.1
P3W1 COMM CNTRL TAM 273 -3336.71
P3W2 COMM CNTRL TAM 273 -1376.68
P3W3 COMM CNTRL TAM 273 19707.42
P3W1 Damon Walters -609.07
P3W2 Damon Walters 30030.24
P3W3 Damon Walters 37475.1
This is the output I'd like to get
P3W1 COMM CNTRL ISAM 213 26961.61
P3W2 COMM CNTRL ISAM 213 12870.4
P3W3 COMM CNTRL ISAM 213 245.88
P3W4 COMM CNTRL ISAM 213
P3W5 COMM CNTRL ISAM 213
P3W1 COMM CNTRL ISAM 273 72831.2
P3W2 COMM CNTRL ISAM 273 8739.38
P3W3 COMM CNTRL ISAM 273 3764.92
P3W4 COMM CNTRL ISAM 273
P3W5 COMM CNTRL ISAM 273
P3W1 COMM CNTRL TAM 213 49844
P3W2 COMM CNTRL TAM 213 20515.17
P3W3 COMM CNTRL TAM 213 16167.46
P3W4 COMM CNTRL TAM 213
P3W5 COMM CNTRL TAM 213
P3W1 COMM CNTRL TAM 273 -3336.71
P3W2 COMM CNTRL TAM 273 -1376.68
P3W3 COMM CNTRL TAM 273 19707.42
P3W4 COMM CNTRL TAM 273
P3W5 COMM CNTRL TAM 273
P3W1 Damon Walters -609.07
P3W2 Damon Walters 30030.24
P3W3 Damon Walters 37475.1
P3W4 Damon Walters
P3W5 Damon Walters Edited by: polasa on Oct 28, 2008 6:42 PMSure, in a Single SQL ->
satyaki>
satyaki>select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
Elapsed: 00:00:00.01
satyaki>
satyaki>
satyaki>-- Start Of Test Data --
satyaki>with week_tab
2 as
3 (
4 select 1 period_num, 1 week_num, 10 bkg1 from dual
5 union all
6 select 1, 2, 40 from dual
7 union all
8 select 1, 3, 30 from dual
9 union all
10 select 1, 2, 20 from dual
11 union all
12 select 1, 1, 10 from dual
13 union all
14 select 1, 1, 20 from dual
15 union all
16 select 1, 3, 10 from dual
17 union all
18 select 2, 1, 15 from dual
19 union all
20 select 2, 2, 20 from dual
21 union all
22 select 2, 3, 10 from dual
23 union all
24 select 2, 1, 15 from dual
25 union all
26 select 2, 2, 30 from dual
27 union all
28 select 2, 3, 20 from dual
29 )
30 -- End Of Test Data --
31 select period_num,
32 week_num,
33 (
34 select sum(week_tab.bkg1)
35 from week_tab
36 where period_num = m.period_num
37 and week_num = m.week_num
38 group by week_num, period_num
39 ) sum_bkg1
40 from (
41 select dum.week_num,
42 wk.period_num
43 from (
44 select 1 week_num from dual
45 union all
46 select 2 from dual
47 union all
48 select 3 from dual
49 union all
50 select 4 from dual
51 union all
52 select 5 from dual
53 ) dum ,
54 (
55 select distinct period_num
56 from week_tab
57 ) wk
58 ) m;
PERIOD_NUM WEEK_NUM SUM_BKG1
1 1 40
1 2 60
1 3 40
1 4
1 5
2 1 30
2 2 50
2 3 30
2 4
2 5
10 rows selected.
Elapsed: 00:00:00.48
satyaki>Regards.
Satyaki De. -
How can I get a refund for the u2 album that Apple charged me for
I have just been charged £27.99 for the U2 album that I did not want. How do I get a refund for this. I can't stand U2!!
£27.99 for the album ? If you are referring to The Songs Of Innocence album (£7.99) then that was given free to everyone three months ago, and was free until 13th October - you are sure that you've been charged, it's not a temporary store holding charge ? The purchase price should show on your account's purchase history : See your purchase history in the iTunes Store - or http://reportaproblem.apple.com on your iPad.
If you have been charged for the album but you didn't buy it then try contacting iTunes Support via the above 'report a problem' link.
Or you can try contacting iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption -
How can we get record numbers for the rows after grouping them?
Post Author: preethibaddam
CA Forum: Formula
hii everyone,
i want to number those records which are grouped by a column.
eg: if i group the emp table with the deptno then the records for the deptno10 group should start from 1 and end with an N number and again when it shifted to deptno20 group than the records for that deptno20 should again start with 1 and end with N number.
i tried placing record number from the field explorer but it is not working. the other group records start with the ended number from the first group.
thanksPost Author: V361
CA Forum: Formula
Record number from CR will count all the records. You could use a running total, and reset on change of group. -
How do I get a reference to the SecurityServices instance in my web appl?
I would like to use the audit provider of weblogic to log audit event that I send from my servlet. For writing a auditevent I need a reference to the AuditService instance. How do I obtain that? IS there any static class through with I can get references to the security services?
LakshmiPete,
The Thread class's public static Thread currentThread() method will return a reference to the Thread object that represents the thread of execution that is live when the method is invoked. More simply, it provides a reference to the currently executing thread.
So you could use this as a key in a hashtable to represent which thread has a lock on some entity:
// "hash" is a hashtable
// entity is an Object representing something that is locked (like
// a record number or a resource identifier)
hash.put(Thread.currentThread(),entity);I think this answers your question, unless I misunderstood you.
Damian -
How can i get windows drivers for the 2013 MacBook Pro Retina?
Hi there,
today I have installed on my late 2013 MBP retina via the Boot Camp Windows 8.1. The installation was smoothly but some drivers are not present including the wifi driver.
Through online research, I found out that in the current version of Boot Camp no drivers for the 2013 model are listed. Do you have one probably have an idea how to get it to run anyway?For feedback from experienced users, post in the Final Cut Pro X forum here.
They should be able to offer suggestions for training.
Apple - Final Cut Pro X - Resources -
When our Mac was set up we had a password protected startup for FF, so without the password you could not start it.
With the recent upgrade to 6.0 that password request disappeared. How do we get it back?When our Mac was set up we had a password protected startup for FF, so without the password you could not start it.
With the recent upgrade to 6.0 that password request disappeared. How do we get it back? -
How do I get Air runtime for the android emulator
All the links I have found say you can download it after signing up for the pre-release; however, that is no longer viable as it is not pre-release anymore. I cannot find anywhere to download the apk file anymore... and I need to get it on the emulator.
I am still digging ... means I still look for the best way to install a Flex/Air combo that will allow me to develop Air Apps for Android (using a Maven based dev env - flex-mojo), means I actually do NOT want to install or use Flash Builder or Flash Professional CS5 or ... whatever.
So here is what I found out (the result of 3 days of work (elapse time)).
To get a Flex/Air SDK up and running you need to ...
Download the Flex SDK (e.g. 4.1.0.16076) from http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4This will NOT contain an/the AIR SDK (and that means also no runtimes)
Download the Air SDK (e.g. 2.5.1) from http://www.adobe.com/products/air/sdk/
Copy the Air SDK over the Flex SDK as described here http://kb2.adobe.com/cps/495/cpsid_49532.htmlNote: Make sure that the Air SDK is newer than the Flex SDK. Otherwise the Flex SDK might use features of the Air SDK that are not present in the Air SDK and that might result in compile or runtime errors. I was not able to find a definition of "newer", but assume that Air 2.5 is newer than Flex 4.1
... or ...
You download the Flex SDK 4.5.0.17689 from http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+HeroThis actually contains (means is already merged with) an Air SDK (don't know which version)
Right now, I am stuck to make this work with flex-mojos 3.7.1, but will report back, if I find a solution. -
HT2305 how do i get administrator priveleges for the folder i need to install itunes..
I have tried for 2 entire days of my weekend now - to simply REINSTALL i tunes....I am the admin on the user acct....admin on the browser im using...disables Norton totally....WHAT AM I DOING WRONG?? i AM NOT AN IDIOT WHEN I COMES TO COMPUTER ISSUES...HATE TO BE DEFEATED...BY A PC...REALLY....
SO what is the deal with the download not finishing b/c of Admin CRAP....it says I cant finish the download as I dont have admin rights...NOT TRUE...Ive installed and reinstalled...SOMEONE PLEASE HELP ME....STEP BY STEP ON THIS = PLEASE...Hi David,
In 8.5 or 8.6, there is a shipping example that contains the filter design subVI you need:
examples\R Series\FPGA Fundamentals\Analysis and Control\Filter and DC-RMS\Using Reconfigurable Butterworth Filter - R-series.lvproj
In LabVIEW 2009, there is a new palette under My Computer: FPGA Interface>>Scaling, with a new Butterworth Coefficients VI on it. That will produce the quantized coefficients you need in the format expected by the FPGA Butterworth Filter.
Regards,
Jim -
The rescue email on the website is only a copy, so I can't fill it out or send it. What am I supposed to do?
You've followed the steps half-way down that page :
Navigate to appleid.apple.com using your web browser.
Click "Manage your account"
When prompted, sign in using your Apple ID and password.
Click Password & Security
You'll be asked to answer 2 of your 3 security questions before you can make any modifications. If you are unable to remember your answers, you can choose to send an email to your rescue email to reset your security questions.
The reset link will only show if you have a rescue email address (which is not the same thing as an alternate email address) set up on your account. If you don't have a rescue email address (you won't be able to add one until you can answer 2 of your questions) then you will need to contact iTunes Support / Apple to get the questions reset.
Contacting Apple about account security : http://support.apple.com/kb/HT5699
When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down the HT5312 page that you posted from to add a rescue email address for potential future use
Maybe you are looking for
-
What is the actual file size for the iphone 4s update - 55.5 mb's or 832 mb's
Can someone tell me the actual file size of the new update for the iphone 4s On my iphone it is telling me it is 55.5 mbs but when I try to download the file thru i tunes it twlls me it is 830 odd mb's. Thanks, michael.
-
How to highlight a row in a standard report?
Friends, Hope you can help. I need to highlight a row in standard report dependent on some criteria. Having searched the forum I have been trying to implement the example given here. This is what I have done: 1) Create a new report using the followin
-
Hi Experts, Is there any Permanent solution for No SID Value Found? Transaction Data First with out Master Data. Can u explain clearly for this Issue. Note : Points will be assinged. With Regards, Kiran
-
We are having trouble finding a lot of documentation around configuring the Funnel chart. Specifcally, we would like to know if there's an option to be able to place the lengend title on the actual Funnel layer. Also, we would like to be able to co
-
Locked-out: "You can't upgrade this version of Mac OS X because a newer version is installed
Absolute rookie move. Bought a Mac Mini server (June 2012 model) on E-bay and it came with the previous owner's log-in account still on it. Tried to re-install 10.6 server software with the CDs that came with it but got the message "You can't upgrad