How to find the current or next role
In an automatic activity, how to write the code PBL to find the current role and the next activity role.role of role;
role = role.find (name: "");
Sincerely
Hey you,.
There is a predefined variable that you can use to retrieve the current activity, if you're inside an automatic activity. You can use it to determine the current role also.
// use this logic to retrieve the name of the activity and role inside an Automatic activity
logMessage activity.name + " is in the role " + activity.role.name using severity = DEBUG
Inside a screenflow, you must do this in a slightly different way. You would rather 'activity' instead of 'activity' to retrieve the name of the role current, as shown below:
// use this logic to retrieve the name of the activity and role
// inside a Screenflow, a Global or a Gloal Creation
logMessage Activity.name + " is in the role " + Activity.role.name using severity = DEBUG
If you want to recover the role of another activity and all you know is the id of the activity (mouse click, activity-> click on 'Properties'-> name in the field of reading only "activity id" on the right), you will use this logic:
// use this logic to retrieve the name of the activity and role
// when all you know is the activity id of the activity
act as Activity = Activity("TheActivityIdHere")
logMessage act.name + " is in the role " + act.role.name using severity = DEBUG
It will fail if you run this by using the name of the activity inside the quotation marks instead of its id.
Hope this helps,
Dan
Tags: Fusion Middleware
Similar Questions
-
How to find the current level of the tree in oracle forms?
Hi, I want to find the current level of the tree when the user click on a node wants to find current level how to do this?
Dear Mohammed,
You can use the FTREE. GET_TREE_NODE_PROPERTY ('tree_block.tree_name',: SYSTEM.) TRIGGER_NODE, FTREE. NODE_DEPTH); To achieve the current level of the node.
Kind regards
Manu.
-
How to find the current MovieClip
Hello
I create a flash file to display the products.
Images and Product Details are stored in the XML file.
Is what I'm trying to create something similar to the banner on http://www.gainfeeds.com/home
Add to this is that products are going to be right scroll to the left automatically if there is no user interaction, and produced at the Center will remain highlighted.
I created a long strip of coverage of products with a mask, the long strip continues to move give a scroll effect.
Now my question is how to find the product that is currently at the center of the mask?
Thank you.Alok Jain
No there is no default name assigned to them.
If you take the parent video clip and with for you apply a getChildNum() method, do not exactly know the syntax, you can take the children of the parent in sales responsibilities. 0,1,2,3,4,... etc.
But this isn't something that will help a lot because you don't know what this number is.
For example, when you create the child movieclips, xml-based, I assume you are using a statement. So in this statement when creating each movieClip, fi do you something like "var m:MovieClip = new MovieClip();"also do the following"$m.name ="mc"+ i". ""
You want to do this because the name "m" is valid only as long as the scope of the valid function is. Once the training starts again you loose any reference to the old "m" and a new one is created. So for future reference the movieClips outside the function that creates, you name them.
After that you can call from anywhere (given that you set the path to access the parent corectly) like this: "parentMovieClip.getChildByName("m3")" If you want to target a third, or using any name you give in the creation of statement.
-
How to find the owner of a role in the database
Hi all
How can I see the owner of a role in the database?
DB version: 10.2.0.2
OS: AIX 6.1Roles are not owned by users.
select * from dba_role_privs select * from dba_roles
-
How to find the position of the VI icon currently run on the block diagram of the appellant
Dear forum,
I am currently trying to use a LabVIEV VI as a simple sequencer: several (very slow) actions must run one after the other. Each action is represented by a Sub - VI, some actions are executed several times. My task is to view the Subvi somehow executing.
My first intention (just manipulate the icon of the VI running with 'Icon.Get VI as Image data' / 'Icon.Set VI of Image data' invoke nodes) has failed, because it changes all instances of the VI icon. If you use the same VI several times, all these VI icons are changed (see here: http://forums.ni.com/t5/LabVIEW/How-to-change-animate-icon-of-currently-running-VI/m-p/3120754/highl... )
My current approach is to use an image of the block diagram (with "VI: block diagram: get resized Image ' call method) in a picture of the front panel control and working within this control. But for this I need to know the position of the icon of the VI running. I know that I can assess the limits and Position via the properties GObj, but how to find the VI running (note that a VI can be installed several times on the block diagram, so the name of the VI is not unique)? IMHO the easiest way might be if a VI might find its icon on the block of the appellant diagram itself when it is run...
It is clear that this position is not yet the position on the photo, but this conversion is a small piece of work...
Kind regards
cpschnuffel
-
How to find the right server to use windowsmail to send and receive e-mails?
How to find the right server to use windowsmail to send and receive e-mails?
Who is your current e-mail server? (Which is after the @ in your address).Windows Mail: Setting up an account of end-to-end
http://Windows.Microsoft.com/en-us/Windows-Vista/Windows-mail-setting-up-an-account-from-start-to-finish -
How to find the CPU Microcode Patch review?
G ' Day,.
According to the next VMware KB:
Revision of the CPU Microcode Patch must be updated to version. Does anyone know how to find the Model CPUID (Stepping) installed processors and Microcode patch review there?
R630 host running ESXi 5.5.
BIOS version 2.1.5.
Kind regards
Alex.
Dell has just released new bios for FC630, R630 that updates the firmware
-
Lost admin password, how to retrieve the current password to change it?
I forgot my Admin password, I connect on my laptop using the scanner print finger all the time and when I try to change the password for Admin it ask the password which I do not remember. How to retrieve the current password and change it in Windows 7 Home premium?It's a laptop Acer 5738 G
You can change your current password as follows:
1. click on start.
2. type the three letters cmd in the search box.
3. press on Ctrl + Shift + Enter
4. click on "run as Administrator".
5. type the following command and press ENTER after each:
NET user "user %%nom" 123456Now the password is 123456. While dealing with accounts and passwords: having a single admin account on a PC is about the same as having a unique key for your car. What happens if you lose? He lost? Break it? A robust Windows Setup requires at least the following:
- Two admin accounts fully tested, with their passwords to record on paper.
- A password key file. Click Start / Help, then search for help on "password". Follow the instructions to create a key on your USB flash drive file so that you'll never find yourself in this uncomfortable situation.
-
How to find the path of a file
Hello
I have Windows 7 Starter.
The search utility can be used to search for files by using the ' * ' wildcard, but unfortunately it does not show the path for no results.
I would like to know how to find the path of a file of my choice.
For example, I record a radio on the internet, which is then saved as "MP3". Now, I want to edit such a file, but I need to know where the file is actually stored. Simply access within a 'library' does not show me where the file is actually located.
How to discover all paths where a particular file format?
I hope to receive a response to this request.
Kind regards
Rayt333
An option for the search utility see the paths for all of its results, would be useful.
Hi Ray
Overall view for the search folder for Detailsof Windows Explorer , by using the View Menu on the right side of the toolbar.
Click on the last name column heading and select the folder item.
If you do not see the folder item, click other, scroll and select the folder item. This will add the folder column.
Use the left mouse button to drag the folder column to the left, next to the column name .
Now, when you perform a search, the folder column will show the path of each file found.
Concerning
-
OBIEE 11 g: how to find the 2nd Friday of the month
Hello
How to find the 2nd Friday of the month using the current date in obiee 11g.
Thanks in advance.
Kind regards
MIT.
Hey MIT,
You can try with something like this:
TIMESTAMPADD (SQL_TSI_DAY, TIMESTAMPADD (7 + 6-DAYOFWEEK (TIMESTAMPADD (SQL_TSI_DAY, 1-DAYOFMONTH (CURRENT_DATE), CURRENT_DATE))), (SQL_TSI_DAY, 1-DAYOFMONTH (CURRENT_DATE), CURRENT_DATE))
It can still be improved to probably avoid transformations 1-2, but at least he does.
You will need to check what return DAYOFWEEK in your environment for Friday (in mine Friday = 6) as if she does not return to Friday 6, you will need to adjust the formula.
The idea is to find what day is the first day of the month, since then visit the first Friday (or just stay there if the first day is a Friday). This is done by the DAYOFWEEK 6 (first day of the month).
And now, you just add more 7 days, so that's why there is a 7 + 6 - DAYOFWEEK (first day of the month) to make it easier to read and understand (instead of 13-...).
-
How to find the size of the virtual server?
Hello
We intend to pass our applications 4 virtual servers has 2 physical servers. In this process, we need to identify the size of the current virtual servers to use as a starting point to configure or add the size in physical server. can anyone provide information on whats stats to be noticed and how to find the size of the current virtual servers?
Thank you
Hi Sekhar, there.
in general, it is a fairly complex task if you want to size the new platform correctly, i.e. not to oversize it and have very low use below, i.e. spend too much on equipment.
In fact, it's the first thing to consider the level of use of the new platform. Most likely your organization (HW and infrastructure) has targets to a minimum. optimal and maximum usage levels.
In the case where you do not have this as a starting point, and then you continue with load average and the current peak (CPU, RAM, NW). To these basic lines, you can use the statistics of WLS Admin Console, where the use of CPU and memory statistics are presented since the server was last started. For more detailed statistics, you can use WLDF to capture measures key at regular intervals, and then base your analysis of these data.
Finally and above all, the size of FS, but I've seen some comments above related to the size of the FS.
HTH,
A.
-
How to find the SCP to a java card
Hello
How will I know if a java card uses SCP01 and SCP02?
Because I read the respose data returned by the Init setting command suite updated map, but it comes to send back more info back to entity of off - map:
Main data of diversification 10 bytes
2-byte key information
Challenge map 8 bytes
Cryptogram of card 8 bytes
And in the same GP2.2 E.1.2.1 , it is written that
This cryptogram of the card as well as the meter of the sequence, the challenge of the card, the secure channel protocol identifier,
and other data are sent to the entity of off - map.
I want to know how to find the SCP protocol identifier?
In addition, it is written that:
As the entity of off - map should now have the same information as the card used to generate the cipher of the card.
It should be capable of generating the same session key and the cipher card even and performing a comparison.
It is able to authenticate the card.
Can someone explain please how to generate these keys and check the card?
Thank youUmer says:
I also found that the SCP is found in the Init-setting control response to date.It's also a good way to get the PCs?
Yes. That's what I use. It does not give you the value of i (current hit is I = 15), but this is not a very big deal in practice (in my code anyway).
See you soon,.
Shane -
I said that there is an update of the firmware available for my 3 t time capsule. I get the message "an error occurred when downloading". How to find the problem? I have elcapitan 10.11.6 and capsule version 7.7.3
Try temporarily, connect your MacBook Pro to your Time Capsule using an Ethernet connection... If not already, then try downloading the firmware again.
-
How to find the serial number of the processor in the MacBook pro s serial number? I have a dead MacBook that was given for service to a third party. I doubt that they have replaced the original parts. Help, please. Thank you
As far as I KNOW, the serial number of the MacBook does not have the serial number of the processor.
-
I make new the old id must paasward wen apple id I go passward, says your id or passward not at even I have received emails but get no email how to find the solution, I, m stuck wat to do
Have you tried to reset it in security issues? If you are not able to do so, contact Apple support so a security identifier Apple Advisor can help you. 800-275-2273.
Maybe you are looking for
-
Dear I have a problem in my FaceTime for the e-mail address, of FaceTime also work on cell phone, when I insert my apple for FaceTime ID then show these words (and n error occurred during results. (Try again). Please help me and tell me what is a pro
-
After that recommended upgrade Thunderbird no longer seems to work.
I clicked Yes when you are prompted to install the recommended upgrade. Over the years, I must have done this several times and I remember well the program always continued to work automatically. But now, when I click on the desktop to launch shortcu
-
For psw register, the boxes are grayed out and want to activate PSwMgr, but how?
Recently changed a lot of psw (software). Want to re - register new ones, as well as for several websites, the psw automatically returns. OK, so went to the security option menu. But 'Remember password for sites' is greyed out. Check the Internet etc
-
NAT strict rest type no matter what I try.I gave up on the phone and chat support live if I'm hoping someone on the forum can help out me. After spending 2 days with support from netgear and nothing...(Oh you will love this. The last support person I
-
WAG160Nv2 with the last FW asks for network authentication user: past after past wireless
I have updated to the latest FW today.But all of a sudden when I try to connect wirelessly to it.He asks me to authenticate network right after that I entered the wep wireless password. It never asked before with the previous firmware.And I have no i