SCSM Runbook Automation Activity - Number of Parameter Mappings

Dear Supporters,
Can you please help me with the following problem:
I am automating the creation of new users over the SCSM Self Service Portal with the help of an Orchestrator runbook. I am configuring the Runbook Automation Activity in Service Manager and I must map all the parameters defined in the Runbook, so that they
can appear later on the Portal.
My problem ist that Service Manager has a limited number of parameters, that I can map – 10 Text, 5 Long Text, 5 Integer and so on. When I am creating the user I want to be able to enter more parameters (for example more that 10 Text fields or more than
5 Integer fields) and so the default parameter mappings in SCSM are not suffcient.
Is there a possibility to have more parameter mappings for Runbook Automation Activities in SCSM? Is there another way to solve or to workaround this limitation?
Many help in advance for all of your efforts!
Regards,
Stoyan


It's a little hard without actually seeing an example, but I will try to mentally visualize your approach.
My first thought would be, go back to basics, and start simple. Create the Runbook with all the Parameters needed to accomplish the automation (i.e. create the user account). I'm not sure why you are using a PowerShell script to create a new user, when there
are Activities in the Active Directory Integration Pack which will accomplish the same thing (unless you're a big PowerShell fan, and will state that it's "more" efficient; but that's besides the point). 
For some of the New User fields, is there an option to assume some of them (i.e. if you are only in Canada, then don't get the user to fill out Country, and just hard-code the value of "Canada"). That will save one field/prompt in the Portal, but
still ensure the value it set. 
For the summary email to the Manager, what information are you trying to send? Account details? You can extract those from the AD Integration Pack "Get User" activity, and reference the various field properties. The Runbook can even send the email
itself (I've done this myself), with a templated email using Activity variables that produce dynamic values. 
For the Runbook, if you have a variable in the Initiate Runbook list, then those fields must be mapped to something. From the Service Request side of things, you don't have to map everything into the Runbook. 
For the Security Group, what is the criteria to determine which group the new user should be a member of? In the example that I did for a client, I used the Title and Department. I wrote a PowerShell script (used within the Runbook), and evaluated each of
those values. I used a Switch statement to make it easier to add more in the future. Based on these values, I assigned a value to a new variable (i.e. "SecurityGroup"), and used that variable in another Activity (i.e. Update User) to add them to
the AD Security Group. 
Please remember to click “Mark as Answer” on the post that helps you. AdinE MCSE, MCSA, MCITP, MCTS; (Specializing in System Center and Private Cloud) LinkedIn: http://ca.linkedin.com/in/adinermie Website: http://AdinErmie.Wordpress.com

Similar Messages

  • Update System.WorkItem.TroubleTicketHasActionLog inside Runbook Automation Activity

    Hello Everyone,
    I would like to know how I can update the Action Log inside a Runbook Automation Activity with SMLets.
    Can someone give a example ?
    Thanks advance
    Robson Hasselhoff - Follow me @Robk9e

    With SMLets, you'll want to create a new object in memory, and create a relationship with the in-memory object, then submit the in-memory object. 
    i don't have time to test this fully, but this Powershell snipit should get you close. 
    Import-module SMLets
    # Set $Runbook to Whatever runbook object you want to operate against, using Get-SCSMObject
    $Runbook = #FIXME#
    # Get Class Prototypes
    $RBClass = Get-scsmClass Microsoft.SystemCenter.Orchestrator.RunbookAutomationActivity$
    $ALClass = Get-scsmClass System.WorkItem.ActionLog%
    # Get Relationship Protoypes
    $RBALRelClass = Get-scsmrelationshipclass System.WorkItemHasActionLog$
    # Get Correct Type value from Enumeration List
    $ALTypeEnum = Get-SCSMEnumeration System.WorkItem.ActionLogEnum.TaskExecuted$
    # Set the property hash table. the new run book will start with these values
    $RBPropertyHash = @{
    Title = "Did a thing"
    ActionType = $ALTypeEnum
    Description = "We Did stuff based on the standard runbook. please check our work."
    # Because the action log requires a membership relationship
    # we have to create the action log in memory
    # then commit the relationship and log at the same time.
    #Create the action log in memory, but don't commit it.
    $RBActionLog = New-scsmObject -Class $ALCLass -PropertyHash $RBPropertyHash -NoCommit -Passthru
    #Create the relationship in memory, but don't commit it.
    $RBtoALRelationship = New-SCSMRelationshipObject -Relationship RBALRelClass -Source $Runbook -Target $RBActionLog -NoCommit -PassThru
    #Commit the relationship. the action log will be created at the same time, and the membership relationship will be created correctly.
    $RBtoALRelationship.Commit()
    once more for good measure, I HAVE NOT TESTED THIS. YOU ARE OFFICIALLY ON YOUR OWN IF IT BLOWS UP YOUR SERVER. so take this with +1 NaCl. 

  • Dynamically adding "Runbook Automation Activity" to Service Requests?

    Hi,
    Imagine the scenario where a user (through the self-service portal) asks for access to 3 different folders, and each of these 3 folders have different owners. I want the user to be given immediate access when one of them is approved. I have created a parallel
    sequential workflow for this.
    This is probably best if I start off with a picture:
    When this service-request is created, it only contains the initial runbook (RB416). This runbook then dynamically adds the parallel activity (PA417) and any sequential activities that are needed (SA418 and SA421) which contains one review activity and one
    runbook automation activity (which gives the user access once the above approval has been granted).
    The approval activities added by orchestrator work fine without any issues, but the added runbook activities added from orchestrator fail, and I have not been able to figure out why. I could not find any articles or guides detailing how to best add
    a runbook "on the fly" from orchestrator, are there any? Or can anyone here explain how to best do this?

    does the Runbook (RB416) assign the right "Sequence ID" (per Work item) when the parallel sequential activities (inc. RA & RB) are created.
    I guess it will be easier to create the SR template with 3 x  parallel sequential workflows, then let the first runbook(e.g. RB416) to
    skip the appropriate Sequential workflows based on the user inputs.
    Hi Ayman and thank you for your response,
    Yes, the sequence ID's are correct, I think that the problem is how I am adding the runbook automation activities.
    It would be easier to create the template with 3 parallel sequential activities, but then it would not be very dynamic and I want it to work even if we need 4 approvals, or even 20 :)
    As I said, I think the problem is how I have added these runbooks. I have tried to find any articles or posts explaining how to add runbooks to a service request from orchestrator, but I have not been able to find one so I basically had to attempt it without
    guidance (with a poor result ;) ).
    Do you know if there are any articles or posts explaining this process?

  • Reduce number retries for an automated activity on a fault-message

    Hi everyone,
    is it possible to reduce the number of retries if an automated activity gets a fault response? With correcting my logical destinations it was possible for me to achieve communication to a webservice outside the netweaver.
    Now I tried the same with a selfmade deployed process and it "worked" - too good. When the automated activity tries to call the webservice, which is a synchromous bpm-process I created, it recieves a fault message. This fault.message is a "the process has been triggered" message that starts my next process. Now that the automated activity gets the "error" I wanted it retries 3 times to get a working connection with the service - so I get 3 new process instances. Is it possible to reduce the retry-counter and if yes, where can I do that? I already looked for this option in the service registry and in the logical destination settings. There isn't an option in the NWDS for the automated activity and i haven't found something in the help.sap.com,
    And yes I know that this isn't usefull for an operativ system.
    With kind regards,
    Markus

    Hi Markus,
    The number of retries is configured internally and cannot be modified on a per automated activity basis. To cover this use cases (BPM process A calling BPM Process B via WS), it is recommend to define the service interface of the process B as "one -way" (request without response) so that no SOAP fault it returned if case of successful start. In case an issue occurs during the start of process B, a SOAP fault will be returned.
    Hope this helps,
    David

  • Hi! How do I switch existing automation data for one parameter to another?

    Hello! I am new to Logic 8, and actually to using the Logic automation feature. Here is the deal: I have some old-school Logic event data that I recorded as a kind of automation (before the current kind of dedicated automation) for an EXS24 parameter. I need to change this event 'automation' to actual Logic automation, as Logic 8 does not read it (as Logic 7 did before it). So, I highlighted all of the events in my old-school 'automation' region in the event list. I had to change the number value to a common number assignment so that I could Change Selected Event Data into Track Automation. I selected volume (number seven, I believe), and than highlighted all events, clicked on the event region, than went to options and selected my desired automation transformation destination (say that three times fast). Great! I have my region as automation! Logic 8 knows what to do with this! But, it is volume. I need it to control the LFO 2 Rate of the EXS24. Problem is, that when I switch the automation parameter from Volume to LFO 2 Rate, the automation disappears. It seems as though that automation data is only for Volume. So, how might a charming gentleman, such as myself, go about keeping/converting the same automation, but for the parameter I want to change it to?
    Thanks! =)

    Hold "command" when switching between automation parameters.
    Then you will get a dialog offering you the option to convert the existing parameter's data into the destination parameter, or "copy and convert" (which does the same but leaves the existing volume automation data intact.)

  • BPM Automated Activity: Technical User vs Named User

    Hi Folks,
    I've implemented a number of working BPM prototypes and now our customers are so interested they want us to implement a number of productive solutions for different process scenarios. Technically we all know that for the automated activity we can either use a logical destination or a service group which in both cases will mean a number of alternatives for authentication to the backend to execute the service operation in the automated activity. In our scenarios so far we have tested both approaches i.e. Service Group and Logical destination using a technical user for both cases (For SG, technical user in the physical system assigned to the SG)
    My question is are you using a technical user to authenticate to the backend in either case or are you forwarding credentials of a named user involved in the specific process instance to be authenticated to the backend and in case of the latter how do you achieve this (apart from ensuring this user also exists in the backend)? The dilemma is if (by SAP agreement) we can use a technical user then what (apart from our ethics) stops us from only getting BPM licences and using a technical user(s) for most of our data maintenance transactions and by extension what prevents the same approach being used via non-SAP BPM tools (such as AquaLogic). I know there may be different arrangements specific to an organisation's license agreement and relationship with SAP but what is the general approach out there
    Thanks for sharing your feedabck

    Hi Anna,
    Please check the section 'ABAP  webservice' in the document
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10271ce0-d613-2d10-a094-d4d693cd7b43?quicklink=index&overridelayout=true
    Anil

  • Stuck at automated Activity

    Hello,
    I'm new to NetWeaver BMP and in SAP in general. I've downloaded and installed the following Trial Version:
    [SAP NetWeaver Composition Environment 7.2 Trial Version|http://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/a0a6bd7b-3dfc-2c10-eb95-aae0f777d4ab]
    I have already managed to get a workflow running with two human activities, that's no problem. But as soon as I include an automated Activity, the process get's stuck at that point, when the webservice should be called.
    My BPM process looks like that:
    [View my designed process|http://floriankalisch.de/pics/process.png]
    The webservice I want to use:
    [The external webservice|http://www.thomas-bayer.com/axis2/services/BLZService?wsdl]
    I imported the web service from remote location and assigned the interface to the automated activity.
    The mappings should be ok.
    The 'Process Visualisation' (stuck at the automated activity):
    [Stuck at automated Activity|http://floriankalisch.de/pics/stuck.png]
    Could some one give me a hint? Any help is appreciated
    Thanks in advance
    Florian
    Edited by: devandmore on Jan 26, 2011 8:39 PM

    Hi Florian,
    I see the following in the error stack trace
    "Log entry 8
    com.sap.esi.esp.lib.mm.config.exceptions.ObjectNotExistsException: Configuration not found for application: demo.sap.com/bp_retrieve_bank,serviceRefId:bp_retrieve_bank_demo.sap.combp_retrieve_bankBPMcomponent_c3170c61-9da4-4da4-9209-4508677ac60f_WS. Please check the configuration details from the NWA. You may have not assigned the Service Group to a Provider System, or the generation of the configuration has failed.
    com.sap.esi.esp.service.server.esb.ConnectivityConfigurationManagerImpl.readConfiguration(ConnectivityConfigurationManagerImpl.java:334)
    ... (22 more)
    You need to configure the service groups /destinations in NWA(Netweaver Administrator) while using the automated activities.
    logon to NWA ->SOA Management->Application and comminication scenario->Application communication.
    Under this you can find your process DC and then goto consumed services tab and configure the WSDL
    Regards, Anil

  • Is the automated activation system down?

    I call 1-800-331-0500...i say activation...it forwards me to the automated activation system...then I get a message saying "You've reached a number that is no longer in service, please call 1-800-331-0500."  I call again and say technical support, but all I get is the GoPhone people who can't help!!!!!!! I'm ready to switch to T-Mobile!!!!

    Hi there! @Fru5trated thanks for posting your concerns.
    I’m sorry to hear you are having issues with the automated system. At this time we are not seeing an issue with this system. If you are still unable to get through, please visit us at att.com/activations and follow the steps to get your phone activated.
    Hope this helps!
    Charise

  • Error while invoking a automated activity

    Hello,
    I don't know whether this is the correct quesiton to this forum but since I am getting error in NW BPM process, I am writing it here.
    I have created a process which is getting triggered by WS call. The first step after start is automated activity where a call to SAP is made via a sync proxy.
    When I tried to execute the entire BPM process, I am getting the error in BPM Logs as
    "A technical error during invocation: Could not invoke service reference name
    eb7cf84e-f05c-41c4-940a-8f95113179f3, component name
    example.org~<DC Name>~BPMcomponent"
    Actually 2 things I did as a part of correction, the first is to set the communicaiton protocol is XI in the service reference of an outbound service interface that is used to call SAP system and change the interface pattern of its inbound interface to XI3.0 compatible. as suggested by Udo Martens in one of his blog. Also the inbound interface in the start step is of XI3.0 compatible.
    I re-deployed the project which I verified by going through NWA logs and also checked the configuration as given in blog. I have collaboration agreement done in PI where Sender is SOAP communication channel with XI protocol and it is as per the sender defined into the service reference.
    Sending a message from SAP NetWeaver BPM process to PI fails via automated activity - Technology Troubleshooting Guide -…
    Also I read one thread where it was resolved by clearing JCO caches but it seems the call was RFC call unlike in my case it is proxy call.
    "Could not invoke service reference" for automated activity (RFC call)
    Any clue what could have went wrong. I could see a cache issue here. But how to clear BPM cache.I couldn't find such option on NWA.
    Thanks in advance.
    Regards

    Hi Ameet,
    I'm facing same error,
    Could you  tell me how to apply the solution? Please.
    Thanks in advantage,
    Regards.

  • To find number of parameter from request

    Freinds,
    Is there any way to find out number of parameter submitted from request object. But the constraint will be with out going through loop.
    Example
    int count = 0;
              Enumeration list = request.getParameterNames();
              while (list.hasMoreElements())     {
                   count++;
                   list.nextElement();
              }

    Can some body help me to resolve the warning created by this line
    ArrayList paramList = null;
    paramList = new ArrayList(Collections.list(request.getParameterNames()));CheckFilter.java:96: warning: [unchecked] unchecked conversion
    found : java.util.Enumeration
    required: java.util.Enumeration<T>
    paramList = new ArrayList(Collections.list(request.getParameterNames()));
    ^
    CheckFilter.java:96: warning: [unchecked] unchecked method invocation: <T>list(java.util.Enumeration<T>) in java.util.Collections is applied to (java.util.Enumeration)
    paramList = new ArrayList(Collections.list(request.getParameterNames()));
    ^
    CheckFilter.java:96: warning: [unchecked] unchecked call to ArrayList(java.util.Collection<? extends E>) as a member of the raw type java.util.ArrayList
    paramList = new ArrayList(Collections.list(request.getParameterNames()));

  • Consuming external webservice in an automated activity

    hi,
    i am consuming a bapi based webservice in an automated activity. i have checked this in wsnavigator using WSDL, it is working fine. when i consume this in my process dc , it asks me to create aService group. i have created one and now deployed dc to server. it doesn't work and in log error it shows that thsi service group is not assigned to any physical system.
    now i tried to create a business scenario communication, for this i created provider systems (it was created and pinged sucessfully, showed all the web services lying in its service registry). when i was creating business scenario, under first step credentials of service group and provider systems are provided. unser second step when i tried to add the services it didn't showed the services which it showed me while i pinged.
    please tell me how to sucessfully consume an external web service (bapi based).This is lying on SR but when i tried to access it through single service administration, it was not there. please guide me how can i sucessfully consume this webservice (using service group or logical destination).
    Thanks In Advance.

    Hi Rohit,
    try with Application Communication Configuration instead of Business Scenario (should be easier for single service). Make sure you have entered the correct credentials for the backend system (both for metadata retrieval and for runtime invocation).
    Instead of Service Registry you can also try with WSIL when creating the provider system. The WSIL URL for the ABAP system should look like this: http://host:port/sap/bc/srt/wsil.
    Please also check the SOA config guide by Alexander Zubev:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40dabb46-dd66-2b10-1a9a-81aa620098b3
    Hope this helps,
    Christian
    Edited by: Christian Loos on Dec 29, 2009 10:28 AM

  • Creation of service for Automated Activity

    Hi All
    I am new to BPM.  I have done some process of human activity with help of some tutorials. It was working fine.
    I am following this [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/501bd56f-a5a6-2b10-4fbf-a61a64055fe4] link.
    I am struck in page No.16.
    I created Web Dyn Pro Component and it is for Human activity.
    Now I would like to create a service for automated activity from the scrach.
    I don't know in which perspective it has to create. But It will be good if it is a CAF Application.
    Can anyone suggest a link for step by step process to create a service for automated activity.
    Regards,
    Nithya
    Edited by: Nithya on Jan 29, 2009 10:20 AM

    Hi Nithya,
                  Yes , u can use Caf Application for Automated Activity .
    Refer this doc for Automate Activity .
    [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-process-management/business-process-modeling/creating%20bpm%20process%20with%20human%20and%20automated%20activities.pdf]
    u can create composite application in composite Application perspective.
    Thanks and regards
    Edited by: Fazal Ahamed on Jan 29, 2009 12:15 PM

  • Creation of  WSDL file & import it in the creation of automated activity

    Hi Friends,
    I want to create BPM process for automated activity.I have created task for human activity. I have created CAF Application,but I dont know how to ceate/import WSDL file(This WSDL file is used to assign the interface to the automated activity).Can anyone explain about WSDL file creation and it's significance.
    (I am following one document 'Creating BPM Process with Human and Automated Activities' from this link ' https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/501bd56f-a5a6-2b10-4fbf-a61a64055fe4')
    Regards,
    Pranjali

    Hi Pranjali,
    WSDL is a document written in XML. The document describes a Web service. It specifies the location of the service and the operations (or methods) the service exposes. WSDL types are used to describe the data. XML Schema is used (inline or referenced) for this purpose.
    Refer to the below link for more deatils on WSDL:
    http://en.wikipedia.org/wiki/Web_Services_Description_Language
    Also there are numerous documents avaiable on this topic, just do a google search.
    Hope this helps!!
    Cheers,
    Arafat

  • Service PO for more than one activity number

    Hi Experts,
        I'm working on service process, my client requirement is to create a Service PO, SES and Invoice using BAPI's.
        While creating Service PO using BAPI_PO_CREATE1 with
        Item cat 'D' and Acc *** Cat 'P' and more than 1 activity number at the services level,
        service PO is getting created only for the 1st activity and not for the rest of the items.
    Can you please help me in solving this issue.
    Thanks & Regards
    PravithaNambiar

    Hi,
    The profile you would need would look something like this:
    Object Type: P
    Object ID: <blank>
    Maint flag: not checked (for display access)
    Eval Path: <blank>
    Status Vector: <blank> (though the system will probably set it to 12 anyway)
    Function Module: <The name of your function module that returns the second pern of the current user as type HROBJECT. See standard module RH_GET_MANAGER_ASSIGNMENT for an example>
    This profile can then be used to grant users access to their "second PERNR".
    Kind regards,
    Brent

  • Error in Automated activity of BPM using the PI operation mapping.

    Dear Experts,
    We have a BPM process, where we have imported Operation Mapping, to use it in an automated activity. We have created the service reference with localhost and checked the local provider system check box and with type WS.
    While running the scenario the process stops at the automated activity (having the Operation mapping), with error:
    A technical error during invocation: Could not invoke service reference name
    I have tried to recreate the step couple of times but it is always the same error.
    Could you please share your expertise in how to over come the error.
    Thank you,
    Best Regards,
    Ajay

    Hi Ganesh,
    Thanks for your response.
    SOAP and Mail scenario are also using the same inbound proxy structure , and the proxy is working fine in both cases.
    For FTP scenario we are reusing the same inbound proxy but we are facing error .
    SAP is getting
    "XML to ABAP Conversion error with error id as "CX_ST_MATCH_ELEMENT " System expected the element 'Namespace of the inbound service interface' .
    Please guide.
    Thanks,
    Ruchi

Maybe you are looking for

  • CD Burner for Mac 9.2.2

    Hi, I am new to Mac computers. I recently got an old iMac (manufactured in 2000) but it does not have a CD Burner, only a CD reader. I am looking for an external CD Burner for my iMac OS 9.2.2 G3 320 MB Built-in memory It's got two FireWire conectors

  • System Calculating HCess twise while posting MM Invoice through MIRO

    Dear Gurus, System calcuating Highter Cess twise while posting MM invoice through MIRO. Please guide where could be problem... Pls provide standard steps need to verfy one by one to analysis the same. Regards, Venkat

  • Iphoto and Mini Mac

    My mini mac came installed with a version of Iphoto but it is not compatible with the version of Iphoto I have `i can't find a version of iphot that will run with it.  `i have imported my iPhoto library from a mac air which has the newer versi

  • Does bios 1.08 really fix the CPU temp?

    I just plopped in a shiny new 3700+, and I noticed that unlike my old 3200+, my temps now don't read correctly.  My old 3200+ seemed to read accurately @39c.  Now with my new 3700+ it reads 63c.  I have confirmed that it is not running anywhere near

  • Can't Import: Import Photos and Videos Grayed Out

    This is perplexing.   I had this problem in LR3 so I decided to upgrade to LR4 thinking it will be better but same result.  I can't import at all.  Import Photos and Videos Button in the dropdown is grayed out.  Import button is also grayed out!  I c