PBL to retrieve all instances assigned to a participant
Hi there,
I have a requirement to print a series of work items as a single PDF. I think i may have a solution but struggling with the PBL - any help much appreciated. My solution is this..
* Participant will take a number of work items using bulk actions -> assign to me
* Use a Global Interactive to call a screen flow
* Screen flow activity includes PBL to retrieve all work items assigned to the current user
* Take all the required data from the work items and pass to a PDF generation service as one print item.
Could anyone please help with how I would retrieve all instances assigned to the current user in PBL? I am using Oracle BPM 10.3.
thanks
Neil
Edited by: user13297570 on Jul 2, 2010 9:32 AM
Neil - try something like this to get a list of instances assigned to the current participant:
busProcesses as BusinessProcess
instanceFilter as InstanceFilter
instance as Fuego.Papi.Instance
processName as String = "/" + "<your process Id here>"
connectTo(busProcesses, url : Fuego.Server.directoryURL,
user : "<a Participant's name that is used for API access here>",
password : "<the password here>", process : processName)
create instanceFilter
using processService = busProcesses.processService
instanceFilter.searchScope = SearchScope(participantScope : ParticipantScope.ALL,
statusScope : StatusScope.ONLY_INPROCESS)
addAttributeTo instanceFilter
using variable = VarDefinition.PARTICIPANT_ID,
comparator = Comparison.IS,
value = Participant.id
// list the instances
for each inst in getInstancesByFilter(busProcesses, filter : instanceFilter) do
endDan
Similar Messages
-
Index to retrieve all instances which have a certain node
Hello!
I work with the oracle 10g xml db and I have got the table of the xmltype
<xsd:complexType name="headerType" xdb:SQLType="HEADER_T">
<xsd:sequence>
<xsd:element name="time" type="xsd:dateTime"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="contentType" xdb:SQLType="CONTENT_T">
<xsd:choice>
<xsd:element name="assignment" type="assignment:AppsXx_Assignment_V"
xdb:SQLName="ASSIGNMENT" minOccurs="1"/>
<xsd:element name="organization"
type="organization:AppsXx_Organization_V"
xdb:SQLName="ORGANIZATION"/>
<xsd:element name="qualifications"
type="qualifications:AppsXx_Qualifications_V"
xdb:SQLName="QUALIFICATIONS"/>
</xsd:choice>
</xsd:complexType>
<xsd:element name="root" type="oebs:rootType" xdb:defaultTable="OEBS"/>
And I need to retrieve all instances which have "assignment'" node
SELECT * FROM oebs
where existsNode(OBJECT_VALUE,'/oebs:root/content/assignment', 'xmlns:oebs="http://www.r.ru/oebs')> 0;
Which index could help me?
ThanksUse below to export to CSV, then filter the file in excel and remove all except animal
dd-PsSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue -WarningAction SilentlyContinue | Out-Null
$url = "<site url>"
$listName = "<list name>"
$path ="c:\Columns.csv"
$web = Get-SPWeb $url
$list = $web.Lists.TryGetList($listName)
$list.ContentTypes | % { $_.FieldLinks } | select Name | Export-Csv -path $path
Can also try
http://social.technet.microsoft.com/wiki/contents/articles/18830.sharepoint-2010-import-data-from-excel-into-a-list-using-powershell.aspx -
Retrieving all the instances assigned to a participant
Hi all,
I need to show in a task of a process all the instances of other processes assigned to the current participant or to all participant of a group.
How can I do it? Which properties of these instances can I retrieve?
Thank you,
petititI tried this :
InstanceFilter instF;
instF = InstanceFilter();
comparator = Comparison.IS;
instF.addAttributeTo(variable : VarDefinition.authorid, comparator : comparator , value : this.participant.id);
listeInstances = ProcessService.getInstancesByFilter(filter : instF);
But the process stay blocked while executed this task, although there is no loop... :S
Any idea please? -
So the guy who built our SCCM server is no longer in the company and his AD account no longer exists. I noticed in SCCM however his account as the "All instances of the objects that are related to the assigned security roles"
is selected. however the option is greyed out for everyone else.
This option is the one found under Administration/Security/Administrative Users select the user and open properties then select the Security Scopes tab.
Is there a way we can provide another user this same level access when we can no longer access through the original build account?
Already looked into tombstone resurrection of his account thats a no go.
Hi,
I recommend you rebuild SCCM or open a case with Microsoft.
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Query to get all ports assigned and used by EBS instance.
Hi,
Can some one pleaase help to get
Query to get all ports assigned and used by EBS instance.
Help is appreaciated.
Regards,
MilanMILAN RATHOD wrote:
Hi,
Can some one pleaase help to get
Query to get all ports assigned and used by EBS instance.
Help is appreaciated.
Regards,
MilanIn addition to the thread referenced above by Helios, please check the context files and (Oracle E-Business Suite R12 Configuration in a DMZ [ID 380490.1] -- F. List of Ports to Open in a DMZ Configuration).
Thanks,
Hussein -
Having backed-up my old iMac using time machine, thinking to open up my iPhoto Library to retrieve all pics from Time Machine, but iPhoto doesn't let me open it. First a pop-up appears: "The photo library needs to be upgraded to work with this version of iPhoto. Your photo library will not be readable by previous versions of iPhoto after the upgrade. The upgrade process for very large libraries may take an hour or more to complete." When I click Upgrade another pop-up appears "You can’t open your current photo library using this version of iPhoto. You have made changes to your photo library using a newer version of iPhoto. Please quit and use the latest version of iPhoto." But I am using the latest version iLife 11. Is there a way to open up the library in a different way, so I can get my pics back???
It sounds like the restored database is damaged.
Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. -
How to get the list of application instance assigned to user
Hi,
I need to run the query in BI publisher to get the list of all the application instance assigned to a user in OIM 11g R2.
Please let me know how to get this data. Also please let me know what is the table to see the list of application instance in OIM.
ThanksGot this working..
The table is APP_Instance to get the details of Application Instance present in OIM. -
Retrieve All Occurrences in a Recurring series in One Shot?
Hi, folks,
Maybe I'm missing something: but in EWS managed API, are there any method that can retrieve all occurrences in a recurring series, providing that you have the recurring master id?
My current implementation is to go through the occurrence one by one by calling Appointment.BindToOccurrence. This approach works though is very expensive and causes a lot of latency since we move to Office 365.>Maybe I'm missing something: but in EWS managed API, are there any method that can retrieve all occurrences in a recurring series, providing that you have the recurring master id?
No if you want to expand recurring appointment you need to use a CalendarView and start and endtime but you won't be able to limit this expansion to just one appointment it will be all appointment in the time frame.
Another approach is recurrence is a just a pattern so if you have a recurring appointment that occurs 8 AM every Monday then you know that the appointment is going to occur at that same time every Monday (based on its pattern) with the same information
unless there is a Modified or Deleted exception (which you can check using those collections on the appointment). So checking every instance of a recurring appointment should never be needed. Also because recurring appointments can have no end doing so
would put you in an infinite loop anyway.
Cheers
Glen -
How to retrieve all the tasks for a UserView with the worklist api 10.1.3.1
Hi,
I have defined a custom view for user jcooper. The view just displays all the current uncompleted tasks for jcooper.
I want to use the worklist api to retrieve all the tasks in the view. I first tried it with the following function call:
taskQueryService.queryViewTasks(workflowContext,viewName, null, null, 0, 0);
assuming that the viewId in the corresponding java-doc corresponds to the name of the view..However this doesn't work and the method returns a null reference. So viewId is something different than a viewName. Because I cannot find the corresponding viewId for my view (not looked in the db yet, but I don't want to use these ids in my app), I tried the method:
client.getUserMetadataService().getUserTaskViewList(workflowContext, Partcipant participant);
However I did not find a method to retrieve a Partipant instance for jcooper in the worklflow api documentation.
My question now is if someone can help me out to retrieve all the tasks for a specific view. I should be possible I think...
Thanks!
Kind regards,
-TomThe second argument (Participant) was added to handle the use case where one user such as an admin or manager needs to retrieve user metadata of another user (offcourse with the required security checks). We will try to do a future enhancement such that if the pariticipant is passed as null then we will assume the metadata is to be retrieved for the workflow context user.
For now you can define a simple method to create a participant from a workflow context as follows and pass this as an argument to the UserMetadataService call:
private Participant createParticipant(workflowContext)
Participant participant = new oracle.bpel.services.workflow.common.model.ObjectFactory().createParticipant();
participant.setName(workflowContext.getUser();
participant.setRealm("jazn.com");
participant.setType("USER");
return participant;
// code to retrieve task list...
UserViewList views = client.getUserMetadataService().getUserTaskViewList(
workflowContext, createParticipant(workflowContext))
... -
Need to retrieve all the UDAs associated to a member and its respective children in Excel
Dear Experts,
I'm working on Essbase version 11.1.2.1.106 and Hyperion smart view 11.1.2.1. There is a custom dimension in the outline and UDAs are assigned to all the members of that custom dimension.
Now the requirement is to retrieve all the UDAs of a particular member and its respective children in Excel. Please let me know if there is any option to fulfill the requirement.
Let say there is a member A and it has 10 childrens(A1-A10). All these members have UDAs assigned to them. Now i would like to retrieve/adhoc analysis all these members as well as its associated UDA in Excel. How can we do that using smart view.
All your inputs are appreciated.
Thanks in AdvanceSree,
If one does as you suggest, the individual UDAs can be viewed in the member selector dialog box and then members (not the UDAs) can be selected based on that.
That is not, I think, what the OP wants:
>>Now the requirement is to retrieve all the UDAs of a particular member and its respective children in Excel.
Your approach doesn't provide the above.
People have thought about using MDX to get the UDAs (and maybe someone really good with MDX metadata queries might come up with this), but that doesn't seem to be the case:
Retrieving all Uda using Mdx Query-what should be string_value_expression?
The API or Applied OLAP's new and improved Outline Extractor would seem to be the way to go. Or of course you could export out the outline using MaxL and then parse the XML.
Regards,
Cameron Lackpour -
How to retrieve Notification Instance of a GP Action
Hello All,
Does anyone has idea how to retrieve Notification Instance of an action.GP API provides method as
Enumeration notifications = processInstance.getNotificationInstanceEnumeration();
which gives alll notifications instances for that process at process level only not deeper.I need notification instance for an action.
VikrantI have the same problem. I have a program that start a gp process at runtime and I need to modify a notification Instance of an action, but when I try to find the action using processInstance.getChildrenInformation (), it returns an array with 0 elements.
have you solve your problem?
Thanks very much
Ignacio -
Re: [iPlanet-JATO] Re: Retrieving all Values from a Tiled View
Todd,
Let me try to explain you this time. I have a text field in a TiledViewBean.
When I display the page, the text field
html tag is created with the name="PageDetail.rDetail[0].tbFieldName" say
five times/rows with same name.
The html tags look like this.
<input type=text name="PageDetail.rDetail[0].tbFieldName" value=""
maxlength=9 size=13>
<input type=text name="PageDetail.rDetail[0].tbFieldName" value=""
maxlength=9 size=13>
<input type=text name="PageDetail.rDetail[0].tbFieldName" value=""
maxlength=9 size=13>
When the form is submitted, I want to get the text field values using the
method getTbFieldName().getValues() which
returns an array object[]. This is in case where my TiledViewBean is not
bound and it is working fine.
Now in case when my TiledView is bound to a model, it creates the html tags
as follows.
<input type=text name="PageDetail.rDetail[0].tbFieldName" value=""
maxlength=9 size=13>
<input type=text name="PageDetail.rDetail[1].tbFieldName" value=""
maxlength=9 size=13>
<input type=text name="PageDetail.rDetail[2].tbFieldName" value=""
maxlength=9 size=13>
Now when I say getTbFieldName().getValues() it returns only the first
element values in the object[] and the rest of the
values are null.
May be we need to create a utility method do get these values from
requestContext.
raju.
----- Original Message -----
From: Todd Fast <toddwork@c...>
Sent: Saturday, July 07, 2001 3:52 AM
Subject: Re: [iPlanet-JATO] Re: Retrieving all Values from a Tiled View
Raju.--
I wanted to know how the getValues() method works the reason being,
when the tiled view is NOT bound to a model, it populates all the
fields with the same name as some thing likeI'm afraid I don't understand your point--can you please clarify? Do you
mean "value" instead of "name"?
What are you trying to do? What behavior are you expecting but notseeing?
>
Without further clarification, I can say that the setValues() methodsNEVER
populates data on multiple rows of a (dataset) model, nor does it affect
multiple fields on the same row. Perhaps what you are seeing is theeffect
of default values. Model that derive from DefaulModel have the ability to
carry forward the values set on the first row to other rows in lieu ofdata
in those other rows. This behavior is for pure convenience and can be
turned off, and it is turned off for the SQL-based models.
Todd
[email protected]Hi,
I wanted to know how the getValues() method works the reason being,
when the tiled view is NOT bound to a model, it populates all the
fields with the same name as some thing like
PageDetail.rDetail[0].tbFieldValue
PageDetail.rDetail[0].tbFieldValue
in which case, the getValues() method works fine.
But in case where the tiled view is bound to a model, it populates
with different field names such as,
PageDetail.rDetail[0].tbFieldValue
PageDetail.rDetail[1].tbFieldValue
in this case, the getValues() doesn't work. Any soultion to this?
We are using Moko 1.1.1.
thanks in advance,
raju.
--- In iPlanet-JATO@y..., "Todd Fast" <toddwork@c...> wrote:
Does anyone know of is there a single method to get all values of a
display
field in a tiled view without having to iterate through all the
values ie
resetTileIndex() / nextTile() approach.
ie Something that returns an Object[] or Vector just like ND returned a
CspVector. I tried using the getValues() methods but that allways returns
a
single element array containing the first element.
(I think now, that method is used for multi selecteable ListBoxes)Actually, no. We can add this in the next patch, but for now, I'd recommend
creating a simple utility method to do the iteration on an arbitrary model
and build the list for you.
Todd -
Retrieving ALL values from a single restricted user property
How can I retrieve ALL values of a single restricted user property from within
a .jpf file?
I want to display a dropdown list within a form in a JSP which should contain
all the locations listed in the property 'locations'. I ever get just the default
value when I access the property via
ProfileWrapper pw = userprofile.getProfileForUser(user);
Object prop = pw.getProperty("ClockSetup", "Locations");Well, the code you've got will retrieve the single value of the property
for the current user. You're getting the default value because the
current user doesn't have Locations property set, so the ProfileWrapper
returns the default value from the property set.
I assume you want to get the list of available values that you entered
into the .usr file in Workshop. If so, I've attached a
SetColorController.jpf, index.jsp, and GeneralInfo.usr (put in
META-INF/data/userprofiles) I wrote for an example that does just this.
It uses the PropertySetManagerControl to retrieve the restricted values
for a property, and the jsp uses data-binding to create a list from that
pageflow method.
For a just-jsps solution, you can also use the
<ps:getRestrictedPropertyValues/> tag. I've attached a setcolor-tags.jsp
that does the same thing.
Greg
Dirk wrote:
How can I retrieve ALL values of a single restricted user property from within
a .jpf file?
I want to display a dropdown list within a form in a JSP which should contain
all the locations listed in the property 'locations'. I ever get just the default
value when I access the property via
ProfileWrapper pw = userprofile.getProfileForUser(user);
Object prop = pw.getProperty("ClockSetup", "Locations");
[att1.html]
package users.setcolor;
import com.bea.p13n.controls.exceptions.P13nControlException;
import com.bea.p13n.property.PropertyDefinition;
import com.bea.p13n.property.PropertySet;
import com.bea.p13n.usermgmt.profile.ProfileWrapper;
import com.bea.wlw.netui.pageflow.FormData;
import com.bea.wlw.netui.pageflow.Forward;
import com.bea.wlw.netui.pageflow.PageFlowController;
import java.util.Collection;
import java.util.Iterator;
* @jpf:controller
* @jpf:view-properties view-properties::
* <!-- This data is auto-generated. Hand-editing this section is not recommended. -->
* <view-properties>
* <pageflow-object id="pageflow:/users/setcolor/SetColorController.jpf"/>
* <pageflow-object id="action:begin.do">
* <property value="80" name="x"/>
* <property value="100" name="y"/>
* </pageflow-object>
* <pageflow-object id="action:setColor.do#users.setcolor.SetColorController.ColorFormBean">
* <property value="240" name="x"/>
* <property value="220" name="y"/>
* </pageflow-object>
* <pageflow-object id="action-call:@page:index.jsp@#@action:setColor.do#users.setcolor.SetColorController.ColorFormBean@">
* <property value="240,240,240,240" name="elbowsX"/>
* <property value="144,160,160,176" name="elbowsY"/>
* <property value="South_1" name="fromPort"/>
* <property value="North_1" name="toPort"/>
* </pageflow-object>
* <pageflow-object id="page:index.jsp">
* <property value="240" name="x"/>
* <property value="100" name="y"/>
* </pageflow-object>
* <pageflow-object id="forward:path#success#index.jsp#@action:begin.do@">
* <property value="116,160,160,204" name="elbowsX"/>
* <property value="92,92,92,92" name="elbowsY"/>
* <property value="East_1" name="fromPort"/>
* <property value="West_1" name="toPort"/>
* <property value="success" name="label"/>
* </pageflow-object>
* <pageflow-object id="forward:path#success#begin.do#@action:setColor.do#users.setcolor.SetColorController.ColorFormBean@">
* <property value="204,160,160,116" name="elbowsX"/>
* <property value="201,201,103,103" name="elbowsY"/>
* <property value="West_0" name="fromPort"/>
* <property value="East_2" name="toPort"/>
* <property value="success" name="label"/>
* </pageflow-object>
* <pageflow-object id="control:com.bea.p13n.controls.ejb.property.PropertySetManager#propSetMgr">
* <property value="31" name="x"/>
* <property value="34" name="y"/>
* </pageflow-object>
* <pageflow-object id="control:com.bea.p13n.controls.profile.UserProfileControl#profileControl">
* <property value="37" name="x"/>
* <property value="34" name="y"/>
* </pageflow-object>
* <pageflow-object id="formbeanprop:users.setcolor.SetColorController.ColorFormBean#color#java.lang.String"/>
* <pageflow-object id="formbean:users.setcolor.SetColorController.ColorFormBean"/>
* </view-properties>
public class SetColorController extends PageFlowController
* @common:control
private com.bea.p13n.controls.ejb.property.PropertySetManager propSetMgr;
* @common:control
private com.bea.p13n.controls.profile.UserProfileControl profileControl;
/** Cached possible colors from the User Profile Property Set definition.
private String[] possibleColors = null;
/** Get the possible colors, based upon the User Profile Property Set.
public String[] getPossibleColors()
if (possibleColors != null)
return possibleColors;
try
PropertySet ps = propSetMgr.getPropertySet("USER", "GeneralInfo");
PropertyDefinition pd = ps.getPropertyDefinition("FavoriteColor");
Collection l = pd.getRestrictedValues();
String[] s = new String[l.size()];
Iterator it = l.iterator();
for (int i = 0; it.hasNext(); i++)
s[i] = it.next().toString();
possibleColors = s;
catch (P13nControlException ex)
ex.printStackTrace();
possibleColors = new String[0];
return possibleColors;
/** Get the user's favorite color from their profile.
public String getUsersColor()
try
ProfileWrapper profile = profileControl.getProfileFromRequest(getRequest());
return profileControl.getProperty(profile, "GeneralInfo", "FavoriteColor").toString();
catch (P13nControlException ex)
ex.printStackTrace();
return null;
// Uncomment this declaration to access Global.app.
// protected global.Global globalApp;
// For an example of page flow exception handling see the example "catch" and "exception-handler"
// annotations in {project}/WEB-INF/src/global/Global.app
* This method represents the point of entry into the pageflow
* @jpf:action
* @jpf:forward name="success" path="index.jsp"
protected Forward begin()
return new Forward("success");
* @jpf:action
* @jpf:forward name="success" path="begin.do"
protected Forward setColor(ColorFormBean form)
// set the color in the user's profile
try
ProfileWrapper profile = profileControl.getProfileFromRequest(getRequest());
profileControl.setProperty(profile, "GeneralInfo", "FavoriteColor", form.getColor());
catch (P13nControlException ex)
ex.printStackTrace();
return new Forward("success");
* FormData get and set methods may be overwritten by the Form Bean editor.
public static class ColorFormBean extends FormData
private String color;
public void setColor(String color)
this.color = color;
public String getColor()
return this.color;
[GeneralInfo.usr]
[att1.html] -
Hi, my laptop just crashed and I was unable to retrieve all the pictures saved in it. However, I have a backup on my iPod touch. Is it possible to sync pictures from my iPod to my laptop? Thanks.
Sync with "new" computer
https://discussions.apple.com/docs/DOC-3141 -
How to retrieve all the data from a BLOB using view-generated accessor
I am using JDeveveloper 10g v. 10.1.3 and am storing an image in a database as a blob object and need to retrieve all of the data to get the entire image and store it in an ImageIcon. The code I have works partially in that it retrieves the correct data, but only gets a piece of it, leaving me with a partial image.
AppModuleImpl am;
ImageVwViewImpl vo;
am = (AppModuleImpl)panelBinding.getDataControl().getDataProvider();
vo = (ImageVwViewImpl)am.findViewObject("ImageVwView");
ImageVwViewRowImpl ivo = (ImageVwViewRowImpl)vo.getCurrentRow();
ImageIcon icon = new ImageIcon(ivo.getImage().getBytes(1, (int)ivo.getImage().getBufferSize()));
jULabel1.setIcon(icon);I either need to know how to use a stream to get the data out (from BlobDomain method getBinaryStream()), or how to get the other chunks of data separately.
edit: I know the problem is that getBufferSize() returns an int which is too small to hold all the data, but need to know what to use instead. Thanks!This is the code I'm using now. Same problem :(
AppModuleImpl am;
ImageVwViewImpl vo;
am = (AppModuleImpl)panelBinding.getDataControl().getDataProvider();
vo = (ImageVwViewImpl)am.findViewObject("ImageVwView");
ImageVwViewRowImpl ivo = (ImageVwViewRowImpl)vo.getCurrentRow();
ImageIcon icon = new ImageIcon(ivo.getImage().toByteArray());
jULabel1.setIcon(icon);
Maybe you are looking for
-
HP Laserjet 1300 Networking problem
Hello. I have recently donw a clean install of Win 7 Pro 64bit to my computer. There is a hp laserjet 1300 connected via USB to this computer. There are two other computers that share this printer thru a netwrok. After the move to Win 7 neither of
-
Migration from old MBP to new MBP
I am curious. I have set up 10GB of my hard drive on the original MBP for the Windows. In the migration from the original MBP to the new MBP, does the Windows hard drive get migrated over as well?
-
NCM code error for po creation, how to solve it ?
Hi experts Now we create one type of PO, it will request to input NCM code on PO item tab. It give the error message which request to input NCM code. actually, we don't use this code now. This code we maintain in Material master export/ import as con
-
Hello Experts, I have been executing queries in background (Pre-calculated web templates - Reporting Agent) for the users for several months, and downloading them to the PC using Download Scheduler application. For some testing p
-
Problem with jre while installing 9iR2 on RedHat 2.1AS
When I try to install downloaded Oracle 9i Release 2 (9.2.0.1.0) on RedHat Advanced Server 2.1 I receive: Error in setting permissions of file/directory /opt/oracle/jre/1.3.1/bin/.java_wrapper. Please, help!