How to make a collection based on successful application deployment?

Hi,
Does anyone know how I can make a collection from where the members are all the computers that have successfully installed a particular application.
I saw this query from another site but i'm having a problem finding the assignmentID for the application I deployed.
select SMS_R_System.ResourceId from  SMS_R_System inner join SMS_AppDeploymentAssetDetails on SMS_AppDeploymentAssetDetails.MachineID = SMS_R_System.ResourceId where SMS_AppDeploymentAssetDetails.AssignmentID = “16777222″ and SMS_AppDeploymentAssetDetails.StatusType
= “5″
Can someone also point me on where I can find the assignmentID for an application?

Why do you want to do that? Just explain what you are trying to achieve.
Torsten Meringer | http://www.mssccmfaq.de
Hi Torsten,
I wanted to create a collection that will contain the computers which have succeeded an application deployment. So then I can have a list of it. Vice versa, I wanted a list of those that failed. I know that I can do that by replacing the status type to what
ever corresponds Error or Fail. It just so happen that I can't find the assignmentID.
Another issue that I'm facing is that my reporting node is not working. I'm currently working on it but I have to get the list of successful/failed application deployment as soon as possible. That's why I though of creating a collection containing only those
computers.

Similar Messages

  • How to make my SSIS package execute successfully, even when there is no input feed file which is actually expected.

    Hello,
    Currently I am running a SSIS package scheduled daily at 7 A.M. It expects two feed files from two different folders. 
    The first step in my package will rename the input files in those folders to  names which the package can understand. I have created two variables in my package to read the files with those file names. I used these variables in connection managers.
    If any of these folders doesn't have input files when the package runs, the package will fail. Can someone please let me know how to make the package the run successfully even there is no input feed?
    Any help is highly appreciated.
    Thank you.

    Why not add a check to see if filecount > 0 from the folder. ANd only if it exists do the next set of tasks ie rename + other processing.
    For this you can use a logic like below
    http://sqlage.blogspot.in/2013/07/ssis-how-to-check-if-file-exists-in.html
    Then link the output of this script task to your rename task using conditional precedence constraint usig Expression and Constriant option. Set Constraint as OnSuccess and Expression as below
    @FileExistsFlg == 1
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to sort a collection based on their date?

    how do i sort a collection based on their respective dates which are in Calendar format?

    this is my codes
    /** This class is use to sort the call list base on their date
    import java.util.*;
    public class a implements Comparator
         /** compare the objects base on their types
         *     @obj1 the first object to be compared
         *     @obj2 the second object to compare with the first object
         public int compare(Object obj1, Object obj2)
         if (obj1 == obj2)
              return 0;
         if (obj1 == null || obj2 == null)
              return 0;
         if (!(obj1 instanceof Call) || !(obj2 instanceof Call))
              return 0;
         Call lhs = (Call) obj1;
         Call rhs = (Call) obj2;
         int s = lhs.getDate().compareTo(rhs.getDate());
         if (s != 0)     
              return s;
         return 1;
    this is the error
    a.java:21: cannot resolve symbol
    symbol : method compareTo (java.util.Calendar)
    location: class java.util.Calendar
         int s = lhs.getDate().compareTo(rhs.getDate());

  • Urgent!! How to make Security Profile Based on Payrolls???

    Dear Everyone,
    I am facing this urgent case which is:
    * My company have 2 payrolls, they need to make security based on payrolls, and the case is our HR team can access all employees data including elements except managers elements or managers data at all ( so they cant find them while querying on them from people enter and maintain window)
    * I tried to make a separate payroll for managers (third payroll) and then making security profile includes all payrolls so they can access all payrolls element and data, then I make another security profile with the original 2 payrolls for other HR team so they can access employees assigned to these payrolls only, but I had to choose which is restricted ( employees or contingent workers or applicants or contacts), I tried to restrict employees in both security options, then I assigned the first security profile which includes the 3 payrolls to their responsibility in profile options, also did that with the second security profile and assigned to the profile option for the responsibility of HR team.
    after choosing restrict employees in security profiles, in both responsibilities I cant find any employees( because I restricted them).
    Please tell me how to make some of the top management cannot be find within search in people enter and maintain, only top management responsibilities can access all employees data and information.
    thanks for your time
    Mohamed Mannaa
    [email protected]

    to use custom you can write something like
    ASSIGNMENT.grade_id in (select g.grade_id
    from
    per_grade_definitions gd,
    per_grades g
    where
    g.grade_definition_id=gd.grade_definition_id (+)
    and gd.segment1 <= 12
    this is showing all employees having grade less than or equal to 12; you can use any other criteria based on your needs.

  • How to make a report based on the result of another report?

    Hi, All,
    I am a new guy in BW development
    I  made the report1, to show the "Total Sales in each country and each shop "
    (the fact table is "Order")
    now I want to make report2 "in each countries, the number of the shops, whose Total Sales >100000"
    Can I make the report2 based on the result of report1 (use the same fact table)
    thanks a lot
    QY

    Hi Klaus,
    your condition only works if the Shop is in the query. If I understood it correctly you have one query with
    Country   Shop   Total Sales
    and one with
    Country   Number of Shops   Total Sales
    and you don't want to restrict the second Total Sales but the Total Sales from the first query.
    Best regards
       Dirk

  • How to make column range based on a column in Oracle BI 11g

    Hello everyone!
    I want to know, how to make column range from a column in oracle bi 11g.
    for example!
    I have a column amounts and I want to build on this with other values of quantity, other column range 1-9,10-49,50-99,100-249, 249 o more.
    regards!
    when I try to make the range I have error.
    Syntax error [nQSError: 26012] . (HY000)
    SQL Issued: SELECT CASE WHEN "CUBO_DEEE_TAB"."CANTIDAD" BETWEEN 1 AND 9 THEN 1 a 9 ELSE "CUBO_DEEE_TAB"."CANTIDAD" END FROM "DM_DEEE"
    Edited by: 964157 on 09-oct-2012 11:50

    You cannot add columns dynamically. But you can define a maximum number of numbers and then hide unused columns in your form useing SET_ITEM_PROPERTY(..,VISIBLE, PROPERTY_FALSE);

  • How to build a collection based on the installed definition update version

    Well I would like to know how to crate the collection of those clients are only installed the definition update? for example, KB2461484
    or
    Definition Update for Microsoft Endpoint Protection -KB2461484 (Definition 1.169.2635.0)"

    thaks Sherry. I got the query:
    Query1: via KB title
    select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner
    join SMS_G_System_PatchStatusEx on SMS_G_System_PatchStatusEx.ResourceId = SMS_R_System.ResourceId where SMS_G_System_PatchStatusEx.Title  =
    "Definition Update for Microsoft Endpoint Protection - KB2461484 (Definition 1.169.2635.0)" and LastStateName =
    "Install Verified"
    Query2: via KB number
    select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner
    join SMS_G_System_PatchStatusEx on SMS_G_System_PatchStatusEx.ResourceId = SMS_R_System.ResourceId where SMS_G_System_PatchStatusEx. QNumbers   = =
    "2461484" and LastStateName =
    "Install Verified"

  • How to make the buttons INVISIBLE in the Application toolbar

    Hi All,
    I have a requirement to create a button in the Application toolbar of the Module Pool Screen. The field should be made Invisible by default. and it should be displayed based on one condition.
    Could you please let me know how to make that particular button INVISIBLE. I think we can make it invisible by using EXCLUDING statement. But, How to make the button VISIBLE again when the check is satisfied.
    I found from the portal that the FM 'VIEW_SET_PF_STATUS' can be used to make a button INVISIBLE. Could anyone help me out how to pass the parameters to this Function module?
    or is there any Function Module available to make the button VISIBLE and INVISIBLE? Please help me on this issues.
    Is there any possibility to make the button VISIBLE or INVISIBLE as we do for the screen fields using LOOP AT SCREEN..?
    Thank you in advance.
    Regards.
    Paddu.

    Hi,
    Try to use below in the PBO module status_0100 OUTPUT.
    DATA t_fcode TYPE TABLE OF sy-ucomm.
    refresh t_fcode[].
    APPEND 'Function code name of the button' TO t_fcode. 
    Check the condition here for which you want to make field visible.
        DELETE FCODE of the button from T_FCODE table
      ENDIF.
      SET PF-STATUS 'STATUS_0100' EXCLUDING t_fcode.

  • How to check the authorization based on webdynpro application

    Hi Experts,
    I was asked to develop a webdynpro component with two webdynpro applications, one each for internal party and external party to be used.
    So how to restrict or check the authorization based on webdynpro application used?
    Do we have any authorization object like S_TCODE for webdynpro application in roles and authorizations?
    Please enlighten me.
    Regards,
    Ajay Matam

    You can assign an authorization object to the Web Dynpro Application within SICF -
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/61/d93822a88e15489a9391f309767366/frameset.htm
    Of course you could also programatically check which web dynpro application is being used from within the component and then call a custom auth-check. However maintain at the SICF is probably better for visibilty and long term maintenance costs.

  • How to make context menu in Windows 10 application?

    How to make context menu like this? With touch friendly and DPI per monitor awareness. Also considered WPF variant.

    Hybrid app? Do you mean Universal app?  Please explain what you're trying to make.
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • How to run a swing based client server application in web?

    hi ,
    wat hav 2 do to run a swing based client server application in web?

    Swing applications run on the client only. You have two basic options:
    1) turn the app into an applet so it can run inside the browser (but still on the client)
    2) use webstart to allow the swing application to automatically install on the client from your server.

  • How to specify a collection-based TFS group name in process template XML

    I'm trying to modify a work item template so that only members of a certain group can modify it. I have the following:     
    <FIELD name="State" refname="System.State" type="String" reportable="dimension">
    <HELPTEXT>The workflow state of the requirement</HELPTEXT>
    <READONLY not="[project]\Requirements Editors" />
    </FIELD>
    However, I want to be able to add this group globally, or at the very least to a collection instead of a project. The questions I have are:
    I know how to add a new group to a collection (as opposed to a project), but how do I change the XML syntax to see it? I know I can use the prefix [project] to check the current project, but how can I do the same generic thing for a collection instead of
    having to name it here? I have tried [Collection] but that doesn't seem to work.
    Is there some way to make this global? That is, I don't want to have to add this group to each collection, so is there a way to make it accessible by all collections/projects? If so, what is the XML syntax I need, and how do I add the group?
    Even with the basic [project] syntax, and adding the group to a particular project I still can't seem to update the template as I get the following error: "TF212017: Work item tracking schema validation warning: TF26171: User/group '2f0bf5ee-d0f9-4441-b8ad-cbd38b00c407\WHSCC
    Requirements Editors' is not found." What am I doing wrong here?
    Thanks!

    Hi Chris,  
    Thanks for your post.
    For collection group in work item template, we should write like this: [Global]\collectiongroupname.
    The [project] mean current team project, so you need ensure you have created that Requirements Editors group in your current team project, then edit the work item type in current team project.
    And I suggest you install the TFS Power Tools, then edit work item type using VS>>TOOLS>>Process Editor. 
    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.
    Click
    HERE to participate the survey.

  • How to make a form-based search API using HTTPClient

    Hi,
    I am getting trouble to make an API that is related to making a site search by using a form-based search API by help of HTTPClient

    Hi,
    Something seems to get added to the form action because of "http". Hence I am removing it.
    You need to write a procedure with the values in the as parameters. Say for example you want to insert a record into dept
    table then
    Dynamic page code
    <html>
    <body>
    <form action="portalschema.insert_dept">
    <input type="text" name="p_deptno">
    <input type="text" name="p_dname">
    <input type="submit" name="p_action" value="save">
    </form>
    </body>
    </html>
    Procedure code.
    create or replace procedure insert_dept
    (p_deptno in number,
    p_dname in varchar2,
    p_action in varchar2)
    is begin
    if p_action = 'save' then
    insert into scott.dept(deptno,dname) values(p_deptno,p_dname);
    commit;
    end if;
    end;
    grant execute on insert_dept to public;
    Hope this helps.
    Thanks,
    Sharmila

  • How to make panel collection with auto height in a ADF page

    Hi,
    I developed a page in ADF of version JDev 11.1.1.4.0 where I had a adf table under adf panel collection. Now I want to change the height based on my screen resolution.
    For width I used the styleClass as "AFStretchWidth" but couldnt find any option for auto height for table due to this I can see vertical scroll bar on my page which I want to avoid.
    Even I tired to create a customized styleClass as shown below but its fixed height but not dynamic
    IN CSS FILE :
    .lookUpPagePannelCollection{
    width:98.5% !important;;
    margin-left:5px;
    margin-left:5px;
    height: 15.5em !important;
    I want to use % in height attribute which is not supporting by panel collection, can anyone tell the alternative way or tell me which version of JDev had this option.
    Thanks in advance.

    Hi,
    Set <af:panelCollection> as a child component of <af:panelStretchLayout> and check output.
    Form Tag Documentation
    Geometry Management
    This component can be stretched by a parent layout component that stretches its children. e.g., another panelStretchLayout, panelSplitter.
    This component uses <f:facet name="top">, <f:facet name="bottom">, <f:facet name="start">, <f:facet name="end">, and <f:facet name="center"> to organize content into each stretched panel. The contents of the facet may be stretched except when the height or width of the facet is set to "auto" via the topHeight, bottomHeight, startWidth, or endWidth attributes which would then cause that facet content to use its natural browser height or width. Examples of child components that can be stretched inside of the panelStretchLayout facets include:
    <af:decorativeBox>
    <af:panelAccordion>
    <af:panelBox>
    <af:panelCollection>
    <af:panelGroupLayout layout="scroll">
    <af:panelGroupLayout layout="vertical">
    <af:panelHeader>
    <af:panelSplitter>
    <af:panelStretchLayout>
    <af:panelTabbed>
    <af:region>
    <af:table>
    <af:tree>
    <af:treeTable>
    See
    http://docs.oracle.com/cd/E14571_01/apirefs.1111/e12419/tagdoc/af_panelStretchLayout.html

  • How to make a Collection out of a Collection?

    I don't want to get into the specifics of my problem since I don't think they are needed.
    Anyways, Say I have a Collection of ArrayLists and I want to create a Collection of their size()'s - how would I do that? I found a way to do it but its very messy:
    // Assuming lists is a Collection of ArrayLists
    Iterator i = lists.iterator();
    HashMap tempMap = new HashMap();
    // loop through each ArrayList
    while( i.hasNext() ) {
         ArrayList currentList = (ArrayList) i.next();
    // Add the ArrayList as the key and the size as the value (in Integer form)
    // I suppose that anything would work for the keys as long as they are unique
         tempMap.put( currentList, new Integer (currentList.size() ) );
    // returns a Collection of size()'s for the ArrayLists
    return tempMap.values();Hope I was clear enough - its difficult to describe my problem. I just would like an easier way to do this.
    Thanks ;)

    There isn't really an easier way. You could use
    another array list rather than a hashmap in your
    construction.
    But at the end of the day, you have to iterate
    through all your items, call get size and add them to
    your list
    Collection listSizes = new ArrayList();
    for (Iterator it = lists.iterator; it.hasNext(); ){
    Collection c = (Collection)it.next();
    c.add(new Integer(c.size()));
    return listSizes;
    Neanderthals.
    Collection<Integer> listSizes = new ArrayList<Integer>();
    for (Collection c : lists)
      listSizes.add(c.size());
    return listSizes;

Maybe you are looking for

  • Remote rejected error with git

    I'm trying to get a git public repository installed on server and can't seem to push an update. I have my server local user with ssh access and file transfers seem to go fine. I have git 1.6.0.4 installed on both development iMac PPC (10.5.5) and ser

  • Automatic TO creation

    Hi i need a help for following question, In warehouse movement type customization we can set a indicatior for automatic TO creation(background processing), but where to define this indicator and interval for this background processing like after ever

  • Workset opens in a new window??

    Hi, I have created 4 new worksets (Home, PCR, Reports, Status) and assigned pages to these worksets. The workset "PCR" has one page assigned to it and the page contains "Personnel Change Request" iView (this iView is delivered by MSS). If I navigate

  • Updating software/firmware version for 4G ipod

    Hello, I have a 4th Gen iPod (click wheel w/ grey screen) and recently bought a Pioneer car receiver that has an iPod USB connector built in. When I plug my iPod in, the car doesn't recognize it. The installer told me to update my firmware and he tes

  • Missing locales: UTF8 for X11

    Hello everyone I have been trying to get Vietnamese input under X11 working for over two years now. My system keyboard layouts only partly work: I can use the normal keys, but the dead keys only create a space, not the added accent required. Since my