Role- resource mapping

Hi,
Given a list of roles, I want some way of mapping this
to a list of resources. Obviously, IDM does this internally,
but is this functionality callable from a workflow?
Thanks,
John I

This will get a list of resource names from a particular role (aRole) into a variable called resourceNames.
<dolist name="aRef">
    <invoke name="getResourceRefs">
        <invoke name='getObjectIfExists'>
            <invoke name="'getLighthouseContext">
                <ref>WF_CONTEXT</ref>
            </invoke>
            <invoke name='findType' class='com.waveset.object.Type'>
                <s>Role</s>
            </invoke>
            <s>aRole</s>
            <null/>
        </invoke>
    </invoke>
    <appendAll name="resourceNames">
        <list>
            <invoke name="getName">
                <ref>aRef</ref>
            </invoke>
        </list>
    </appendAll>
</dolist>

Similar Messages

  • CProjects-MS Project - import and export of task-role-resource assignment

    Hi,
    We are on PPM5.0
    We are currently working on cProjects-MSP client integration.
    What we have not been able to configure for import/export so far is:
    1. Task-Role-Resource assignment
    Whereas we are are able to import/export the "Person Responsible" and "Role Responsible" fields, we have not been able to align the task-role-resource assignments.
    We see a "Resource Name" column (Standard) in MSP. When we click on the drop down, we see all the roles from the cProjects project. But the alignment does not happen.
    Summary:
    On export and import, we need to automatically see the role-resource-task assignment. How is this possible?
    2. Code field to "VC_BUPA_GUID" gets a number which is not the BP ID.
    Is it possible to import the BP numbers in MSP. Also, how can we assign a number to the role in MSP such that on import into cProjects, the role is already staffed with the corresponding BP.
    3. Is it possible to export all the resources (BPs) into a drop down in MSP - like we see the Project Type, Role Type etc.
    Thanks.

    Hi Anuradha,
    Thanks for your inputs.
    When we export to MSP, we see the cProjects roles under the "Resource Name" drop down in MSP.
    However, they are only seen when we expand on the drop down.
    For e.g. RoleA, and RoleB are two roles in cProjects project, along with many other roles.
    Both of these roles are assigned to a task, say TASK1.
    When exported to MSP, we expect both of these roles to show against TASKI, as "RoleA, RoleB" under the "Resource Name" column. However, these roles are not seen. They only appear as elements of drop down, along with all other roles in the project, when we explicitly click on the drop down.
    Please let me know if I are missing out on something.
    Thanks.

  • Need help with Resource Mapping from Application Deployment to VC:virtualMachine

    Hi,
    I've built a number of vCO Workflows and hooked them up to Resource Actions in vRA. However, the Workflows I've built all take a VC:VirtualMachine as the input and therefore,they only "hookup" to VMs in the Machines list in the Items tab in vRA. Ideally, I want these actions to hookup to the Application Deployments in vRA since that is what my users are deploying - the VM that the App rides on is somewhat secondary. Plus, it's cumbersome for them to find the VM that corresponds to the App they want to run the action on.
    So, I looked into creating a new Resource Mapping, thinking I could map an Application Deployment to a VC:VirtualMachine so that I could create an Action for the Application. I was able to create a mapping from Application Deployment to VC:VM using the Map to VC:VM existing workflow and I could add that to the Actions menu for the Application Deployment but if I try to run it, it fails. I kind of expected this since I think the Map to VC:VM is expecting an input of IaaS VC:VM to map to vCO VC:VM. I think what I need to do is write a Workflow that will take in the Application Deployment "object" and find the VC:VM inside it but I don't know how to find out the structure of an Application Deployment such that I could parse it and get the VM.
    Does this make sense? Am I going about this the right way? Thanks for any help,
    Tom

    Hi,
    I've built a number of vCO Workflows and hooked them up to Resource Actions in vRA. However, the Workflows I've built all take a VC:VirtualMachine as the input and therefore,they only "hookup" to VMs in the Machines list in the Items tab in vRA. Ideally, I want these actions to hookup to the Application Deployments in vRA since that is what my users are deploying - the VM that the App rides on is somewhat secondary. Plus, it's cumbersome for them to find the VM that corresponds to the App they want to run the action on.
    So, I looked into creating a new Resource Mapping, thinking I could map an Application Deployment to a VC:VirtualMachine so that I could create an Action for the Application. I was able to create a mapping from Application Deployment to VC:VM using the Map to VC:VM existing workflow and I could add that to the Actions menu for the Application Deployment but if I try to run it, it fails. I kind of expected this since I think the Map to VC:VM is expecting an input of IaaS VC:VM to map to vCO VC:VM. I think what I need to do is write a Workflow that will take in the Application Deployment "object" and find the VC:VM inside it but I don't know how to find out the structure of an Application Deployment such that I could parse it and get the VM.
    Does this make sense? Am I going about this the right way? Thanks for any help,
    Tom

  • Role - Resource - Task Assignment

    All,
    We have a requirement where a cProjects task may spread along for, say, 6 months. Resource needs to work on this task for only 2 days per month, every month (say) (Work - 12 days).
    When the role is staffed for 6 months, this resource will not be available for the other projects. And therefore, we want the resource assignment to the task to drive his availability.
    Is there a way out? Or do we have to staff the role 6 times (with the right dates)? The second option works, I know, but is not an elegant way to do it.
    Thoughts/opinions.
    Regards.

    Thanks Niranjan for your attempt.
    The business isn't quite liking the idea of doing so much when a resource is supposed to be working on the task 2days/month. For every time that the resource is to work, the cProjects user would have to staff to the role (or create a role, as you suggested). Everytime, the dates have to be mnaully entered for staffing, Project Role, Resource to task assignment and so on.
    They want this to be done at one place and would like this data to reflect elsewhere. For e.g. when the resource is assigned to the task, this data should drive availability of the resource - is what they want.
    Let me know if I am missing on any of the obvious functionalities of cProjects resource management that I may try to resolve this issue.
    Thanks again.

  • "Role" Resource Type not found

    Referencing TID 7012806, https://www.novell.com/support/kb/doc.php?id=7012806 , I verified our installation is on GW2012 SP2 12.0.2-108211 but we are not seeing "Role" as an option for a Resource Type. Please advise what we can do to make the Role Resource Type available on our system.
    Thank you,
    Ronnie

    On 14.01.2014 15:06, sarnor wrote:
    >
    > Thank you for the reply, Laura. I ran the eDirectory schema check and I
    > got a "The eDirectory schema for the selected tree has been properly
    > modified for use with Groupwise." As Massimo indicated in his response
    > (thank you Massimo), I checked the C1 snap in for GW Administration and
    > noticed it indicated for version 2012 SP1. I copied the snap-ins again
    > from the GW2012 SP2 install zip file to my C1 folder and when I run C1,
    > it continues to display Ver 2012 SP1. So I am not sure if I have the
    > right version of snap ins, and if this is causing the schema not to
    > extend properly. Please advise.
    Unfortunately, the SP2 snapins still display as SP1 in ConsoleOne, yet
    they are different. If you copied them, you should be fine in that
    regard, but unfortunately that was my only idea for now..
    CU,
    Massimo Rosen
    Novell Knowledge Partner
    No emails please!
    http://www.cfc-it.de

  • Disabling Roles, Resources, Proxies subtabs in Profile tab of Self Service

    All,
    I am looking for ways to disable 3 (Roles, Resources, Proxxies) of 5 subtabs under self service UI -> Profile -> My Profile subtabs. Any suggestions on how to go about this either programmatically or using configuration.
    Thanks in advance.
    Prasad.

    Not possible without UI Customization

  • Unable to deploy EJB: ...Expected role in mapping - WL9.2 on XP

    Message Driven Bean deployment - getting error below - I thought the mapping was defined in weblogic-ejb-xml.jar?
    [i][i][i]Caused by: java.lang.AssertionError: Expected role in mapping        at weblogic.ejb.container.internal.RuntimeHelper.getRunAsPrincipalFromRoleMapping(RuntimeHelper.java:301)
            at weblogic.ejb.container.deployer.BeanInfoImpl.calculateRunAsPrincipal(BeanInfoImpl.java:866)
            at weblogic.ejb.container.deployer.BeanInfoImpl.prepare(BeanInfoImpl.java:816)
            at weblogic.ejb.container.deployer.MessageDrivenBeanInfoImpl.prepare(MessageDrivenBeanInfoImpl.java:866)
            at weblogic.ejb.container.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:946)
            ... 25 more
    Unable to deploy EJB: EjbFileRequest from EjbFileRequest.jar:
    Expected role in mapping
    <ejb-jar
    xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"
    version="2.1">
    <enterprise-beans>
    <message-driven>
    <ejb-name>EjbFileRequest</ejb-name>
    <ejb-class>EjbFileRequest</ejb-class>
    <transaction-type>Container</transaction-type>
    <activation-config>
    <activation-config-property>
    <activation-config-property-name>destinationType</activation-config-property-name>
    <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
    </activation-config-property>
    </activation-config>
    <security-identity>
    <run-as>
    <role-name>EJBFileRequestRole</role-name>
    </run-as>
    </security-identity>
    </message-driven>
    </enterprise-beans>
    </ejb-jar>
    <weblogic-ejb-jar
      xmlns="http://www.bea.com/ns/weblogic/90" xmlns:j2ee="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-ejb-jar.xsd">
      <weblogic-enterprise-bean>
        <ejb-name>EjbFileRequest</ejb-name>
        <message-driven-descriptor>
          <destination-jndi-name>jms/TrinityFRQ</destination-jndi-name>
        </message-driven-descriptor>
      </weblogic-enterprise-bean>
      <security-role-assignment>         
       <role-name>EJBFileRequestRole</role-name>
       <principal-name>trinityejbuser</principal-name>
    </security-role-assignment>
    </weblogic-ejb-jar>

    Did you ever figure out what was wrong here? I have the same setup and the same problem.

  • Resource map is incorrect

    I have a file showing a quicktime icon in a Final Cut Pro 5 folder. When I try to open it in Quicktime I get a resource map is incorrect error. Trying to open it in FCP5 give a general error.
    What is a resource map is incorrect error and what would cause it?
    Any to correct it?
    Thanks

    The "Google" in my post above contains the search parameters that I put into Safari.
    I entered "resource map quicktime" -without the quotes. Maybe it only works properly if you use Safari as that is also part of the URL:
    http://www.google.com/search?client=safari&rls=en-us&q=resourcemapquicktime&ie=UTF-8&oe=UTF-8
    The link to the thread here on AD was: http://discussions.apple.com/thread.jspa?messageID=6141662
    Depending on the browser, you might have to right click, choose copy link and paste it in the address bar.

  • "Resource map is incorrect" - msg.  can't open QT mov.

    I thought I safely backed up a number of files, including movies and stills to an external drive. Now when I try to open these, I get the following message:
    *The movie could not be opened. The resource map is incorrect.*
    This is a first for me - and a scary one, although I think I have other copies of most of these files on another drive. I wonder what happened? Googling around, it seems others have had this experience - possibly a resource fork being stripped in the data transfer...and apparently, virtually no way to reconstitute or recover, although someone thought that a ResEdit expert (I'm not that) might have some luck. The same thing happens when I copy these files to the desktop.
    With the jpegs, I'm getting a message: *Couldn't open the file. It may be corrupt or a file format that Preview doesn't recognize.*
    I'm at a loss...you'd think your backed up files are safe. As I recall, these were simply dragged from files on my computer to the plugged in external drive - as I've done for years. Oddly enough, a few of the movies in certain folders do open up - apparently not affected.
    A real mystery. Any help/suggestions appreciated.
    k.

    Thanks BD and Japamac,
    MS DOS/FAT - a Windows format? I don't think so. This is a Seagate Barracuda 200 GB/7200 RPM typical of drives I use to back up files. It's possible it wasn't formatted correctly, although every drive I have gets the usual initiation. Get Info tells me its Mac OS Extended (Journaled)
    One of the files that does open is a 5.83 GB QT movie.
    I'm going to drag a few files into this drive to see what happens: OK, dragging a 1.67 GB movie into the external drive gives me an error message (Error code - 36): "Finder cannot complete operation because some data in (file name) could not be read or written" This is a file that plays fine in QT player on my computer. Let' try a few jpgs": These are Graphic Converter copies, but GC isn't recognizing them (Unknown format message.) Tried a few more QT files and Picture Viewer ones - all getting Error-36.
    Could the drive be corrupted in some way?
    I think Japamac's idea to use cloning from now on is a good one..but D&D never failed me until now...
    What about wiping this drive and reformatting? Any recommended optional procedure in Drive Utility?
    Also: yes, this is FW, and I've had no issues with the cable so far. Will try another external drive to make sure.

  • Mp3 won't play. "The Resource map is incorrect".

    Symptom:
    When I double click an mp3 in finder, quicktime gives an error:
    *"The movie could not be opened. The resource map is incorrect"*
    When I press spacebar to try and hear it, the preview shows the artwork, but no music plays.
    *What I've tried:*
    When I do a "get info", finder correctly reports that it is a "+Mp3 Audio+" and not a movie
    I tried to reinstall quicktime 7.5.5 to no avail.
    The music opens fine in itunes.
    Any ideas? Thanks!

    How is the drive where the clips are stored, formatted?
    Macs use HFS+ (Mac OS Extended) formatting which provides for support of Resource Forks in files.
    Windows FAT format does not provide this functionality -it is a so called flat format -Resource Forks are stripped from the file. Your Mac needs that information to tell the operating system how to handle the files, for instance, what application opens them.
    If your drive is indeed FAT formatted as most "off the shelf" drives are, you will have to reformat (Erase) it using Disk Utility and recapture the footage. This will of course destroy all information on the drive.

  • General error: The resource map is incorrect?

    I'm getting a 'General Error' with a number of clips on the timeline. I go to the media, try to open it in Quicktime, and get a pop-up: 'The resource map is incorrect.'
    Is any repair possible, or do I have to recapture the material? It would be interesting to know what the 'resource map' is, and if there is anything I might have done personally to make it 'incorrect'.
    Ben

    How is the drive where the clips are stored, formatted?
    Macs use HFS+ (Mac OS Extended) formatting which provides for support of Resource Forks in files.
    Windows FAT format does not provide this functionality -it is a so called flat format -Resource Forks are stripped from the file. Your Mac needs that information to tell the operating system how to handle the files, for instance, what application opens them.
    If your drive is indeed FAT formatted as most "off the shelf" drives are, you will have to reformat (Erase) it using Disk Utility and recapture the footage. This will of course destroy all information on the drive.

  • Cannot open ... because file's resource map is incorrect.

    I need the ability to open QT files and FCP movies in QT 6.0.1 while booted to OS 9.2.2. However, even though the files open fine in OSX QT7 and FCP 5 (as well as FCP3) applications, I very often get an error message when trying to open them in OS9 with QT6:
    Cannot open "<flename>" because a file's resource map was incorrect.
    Is there a utility to fix this?
    Thansk,
    Cris

    Possible $50 solution:
    http://www.lacie.com/products/product.htm?pid=10498
    LaCie FastCoder
    Pocket-sized DV to MPEG transcoder
    LaCie FastCoder
    User Benefits:
    * Pocket-sized DV to MPEG-1 and MPEG-2 hardware encoder
    * Compact, silent and FireWire bus-powered
    * Full support for QuickTime compatible files
    * High-quality, real-time encoding on G3, G4 and G5 Macs with built-in FireWire ports
    A unique real-time encoder, this compact, silent device allows you to quickly convert DV NTSC to MPEG-1 and/or MPEG-2 files using a FireWire bus. The LaCie FastCoder is compatible with Mac OS 9.2 and OS X 10.2.6 or greater. It comes bundled with the Capty FastCoder Utility for hardware encoding, Capty DVD/VCD 2.x (Full Version) for DVD and Video CD authoring, and SilverKeeper software for backing up your projects. This easy to use, portable encoder supports QuickTime full quality DV-compatible files exported from Apple’s Final Cut Pro, Final Cut Express, iMovie, or Adobe Premiere Pro.
    specs...
    MPEG-2
    2 to 10Mbits/s (CBR/VBR)
    2 to 6Mbits/s (VBR Elementary Stream)
    (from B&H web site)
    For $50, might as well give it a try!
    --Cris

  • The resource map is incorrect

    For some reason all of my quicktime files on my external hard drive will no longer open.  I get this error :  The resource map is incorrect.
    Is there anyway to fix these files or get them open?

    How is the drive where the clips are stored, formatted?
    Macs use HFS+ (Mac OS Extended) formatting which provides for support of Resource Forks in files.
    Windows FAT format does not provide this functionality -it is a so called flat format -Resource Forks are stripped from the file. Your Mac needs that information to tell the operating system how to handle the files, for instance, what application opens them.
    If your drive is indeed FAT formatted as most "off the shelf" drives are, you will have to reformat (Erase) it using Disk Utility and recapture the footage. This will of course destroy all information on the drive.

  • Danish terms for "data fork", "resource fork" and "resource map"?

    Any Danish speakers here who know the Danish terms for "data fork", "resource fork" and "resource map"?

    You got me thinking (never good on a Sunday), so I looked around and found this:
    http://www.whatiscalled.com/computer-terms-in-danish/
    I have bookmarked this!

  • Unable to find User,Roles,User Mapping under UserAdministra Role in Portals

    Hi All,
    I installed SAP Netweaver sneak preview 2004 full java edition with sp9
    version successfully but am unable to find the sub role User Mapping,User,Roles under
    User Administartion Role in Portals.
    only Identity management, Import, Activity reports are showned.
    Can any one suggest me where i have to get this options?
    Thanks & Regards
    Phanikumar

    Hi All,
    Hi All,
    I got the solution.
    In the User Administration --> Identity Management, search the user or group or role then click on the result list item then you will get the details.
    There you can find the following TABs for user/group/role.
    1. General Information
    2. Account Information
    3. Contact Information
    4. Additional Information
    5. Assigned Roles
    6. Assigned Groups
    7. User Mapping for System Access
    User Mapping is one of the TAB(7th). Click on that User Mapping TAB
    regds
    phanikumar

Maybe you are looking for

  • Index on date field

    Please see my table create table DATE_TEST   ID         VARCHAR2(6) not null,   ID_DESC    VARCHAR2(250),   START_DATE DATE,   END_DATE   DATE -- Create/Recreate primary, unique and foreign key constraints alter table DATE_TEST   add constraint DATE_

  • RANT: Please post with a meaningful subject line

    This is an SQL and PL/SQL forum. Almost all posts will be people needing help with a query, or in a PL/SQL procedure, so subject lines like Stored Procedure Please share your valuable experience Need help on the below query error while running PL/SQL

  • Updated to Firefox 5, and now my Yahoo Toolbar won't show any of the buttons.

    I delayed updating to Firefox, because V3 worked so well and V4 sucked. But as a security concern, I finally made the upgrade and discovered my Yahoo Toolbar isn't working properly. The Toolbar is there, but the buttons I've all added are gone. I can

  • CSV to Excel 2013 - Issue with number format

    Hi, I use Excel 2013 to manipulate CSV files. I experienced issue with number format cells. In my CSV file there is one column that presents latitude values in format: 52.05456464. When I open my CSV file in Excel 2013 all values in that column get s

  • Computer died how do I recover files?

    How do I get my purchased downloads back?