Api call for 'submit for approval'

would like to be able to use the content management event system to watch for incoming files. when a new file comes in i want to set some attributes based on the payload before it is submitted for approval. i am having problems finding the proper procedure to automatically submit the file for approval once i set the attribute values (which must be done while the file is in draft mode)
is that possible?

If the target node for your operation is a sibling, I believe you're going to have to pass the parent node of the sibling into the AddNode() API call when this operation occurs within a version. Note that copyNodesAcrossVersions is a new method that has a copyAsSibling parameter, but AddNode() does not.
Edited by: Naren Truelove on Nov 12, 2012 3:12 PM
...grammatical correction...

Similar Messages

  • Api call for "browse pages" popup window?

    Hi,
    Is there a supported API call for rendering the "browse pages" popup window? The one that appears when you use the "go to page" link.
    We used to call wwsbr_explorer.display but this call has changed in 10.1.4 to wwsbr_explorer_ui.display...
    Thanks, Tony

    closed !
    Please use the other thread.

  • Requesting API calls for Windows 10's virtual desktops

    Please add API calls for working with Windows 10's virtual desktops, for example, a way to determine which virtual desktop a particular window is on and which virtual desktop is active.
    The problem can be seen using the Snipping Tool. Open the tool and select a
    New / Window Snip. As you move the mouse around, the snipping tool
    highlights areas where there is no window, but there is a window in another virtual desktop.
    First desktop, Snipping Tool highlights and empty area ...
    Second desktop...
    It's because Snipping Tool has no way to know which virtual desktop a particular window is on.
    Thanks!

    Thanks, been there, did that, but there's no way to know if Microsoft listened or provided a solution :-(
    Hi GoVideo,
    Currently, Windows 10 is still in the Technical Preview stage, Microsoft will collect all feedbacks and evaluate them guardedly.
    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.

  • API Call For Basic Authentication

    Hi,
    Does anyone know whats the API call that WebLogic makes internally to
    perform basic authentication. Is ServletAuthentication the only way to
    programmatically log in a user.
    Thanks
    Sameer

    If the target node for your operation is a sibling, I believe you're going to have to pass the parent node of the sibling into the AddNode() API call when this operation occurs within a version. Note that copyNodesAcrossVersions is a new method that has a copyAsSibling parameter, but AddNode() does not.
    Edited by: Naren Truelove on Nov 12, 2012 3:12 PM
    ...grammatical correction...

  • API call for launching Sun Java System Application Server

    Hi,
    I want to use an API call to start the Sun Application server, so that the server runs in the same JVM as my java aplication.
    Please advise me how to do this.
    Thank you
    Komal

    Here is sample code to start application server if you are using SJSAS Platform Edition 8.1 2005Q2 Update 2
    http://docs.sun.com/app/docs/doc/819-2642/6n4tspp9t?a=view#beaps

  • API call for Sequence vs DLL in report options

    I've got my code to automatically use a text file no matter the selection of the Report Format.  But what I've found is that if DLL is selected, there are certain parts of my code that do not run versus when the Sequence is selected under "Select a Report Generator for Producing the Report Body".  Which makes sense to me since I want the callbacks to run.  But, I can't find out where in the API to set it to Sequence so that I can ensure my callbacks get run.
    Thanks in advance.

    It actually wouldn't be done through the API.  That info is stored inside of a variable during RunTime.  Ultimately it is stored in the ReportOptions.ini file but that gets read in during the ReportOptions callback.  The one you are looking for is called Locals.ReportOptions.BodyGenerator in the TestUUTs Entry Point and the Single Pass entry point.  You need to change that variable to Sequence instead of DLL.....I'm assuming.  I didn't try it yet.
    Hope this helps,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Java API Calls for command line operations

    I would like to use the command line operations programmatically from Java, or PL/SQL.
    I would like to parse a XML file. From DOS Command line I can issue a ifsput test.xml and I can have the file parsed and stored in the database.
    Can I do the same thing programmatically using java or plsql from database.
    Thanks
    Ramna

    The following code allows you to parse an XML file. In this case it parses a string containing a SimpleUserDefinition.
    package ifs.demo.common.users;
    import oracle.ifs.beans.*;
    import oracle.ifs.beans.parsers.Parser;
    import oracle.ifs.beans.parsers.SimpleXmlParser;
    import oracle.ifs.common.*;
    import java.io.File;
    import java.io.StringReader;
    import java.io.FileNotFoundException;
    import ifs.demo.vcard.type.Vcard;
    import ifs.demo.vcard.parser.VcardParser;
    import java.util.Locale;
    import java.util.Hashtable;
    public class UserCreator extends Object {
    private static LibrarySession getConnection(String user,String password,String serviceName, String schemaPassword)
    throws IfsException
    LibraryService service = new LibraryService();
    CleartextCredential me = new CleartextCredential(user,password);
    ConnectOptions connect = new ConnectOptions();
    connect.setLocale(Locale.getDefault());
    connect.setServiceName(serviceName);
    connect.setServicePassword(schemaPassword);
    return service.connect(me,connect);
    private static void createUser(LibrarySession ifs)
    throws IfsException
    String simpleUserString = "<?xml version = '1.0' standalone = 'yes'?>\n"
    + "<SimpleUser>\n"
    + " <UserName>TestUser2</UserName>\n"
    + " <Password>ifs</Password>\n"
    + " <HomeFolderRoot>/home</HomeFolderRoot>\n"
    + "</SimpleUser>\n";
    StringReader userDefinition = new StringReader(simpleUserString);
    SimpleXmlParser xmlParser = new SimpleXmlParser(ifs);
    xmlParser.parse(userDefinition,null,null);
    public static void main(String[] args)
    try {
    LibrarySession ifs = getConnection("system","manager","IfsDefault","manager");
    ifs.setAdministrationMode(true);
    createUser(ifs);
    } catch (IfsException e) {
    IfsException.setVerboseMessage(true);
    e.printStackTrace();
    Note that you ask about doing this from the database. If you mean that you want to run this code from inside the database the answer is not supported in 1.1. What you would need to do is use Oracle Advanced QUeuing to send a message, containing the XML to a process running outside the database and have that process connect to iFS and perform the parsing.
    null

  • Problem with ProductWS_ProductInsertOrUpdate_Input api call

    Hi All,
    There seems to be an issue with siebel's ProductWS_ProductInsertOrUpdate_Input api call on release 14 of CRM OnDemand.
    The api call is failing if I am trying to update and insert the product records in a same call based on the IntegrationId.
    The Siebel CRM on demand URL we used is:
    https://secure-ausomxapa.crmondemand.com/Services/I ntegration
    The sample soap request used is:
    <?xml version="1.0" encoding="UTF-8" ?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/enve lope/" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:prod="urn:/crmondemand/xml/product" xmlns:ns="urn:crmondemand/ws/product/10/2004">
    <soapenv:Body>
    <ns:ProductWS_ProductInsertOrUpdate_Input>
    <prod:ListOfProduct>
    <prod:Product>
    <prod:IntegrationId>AAPA-KYTAR</prod:IntegrationId >
    <prod:Description>desc nk_test3</prod:Description>
    <prod:Orderable>Y</prod:Orderable>
    </prod:Product>
    <prod:Product>
    <prod:ExternalSystemId>nk_test4</prod:ExternalSyst emId>
    <prod:PartNumber>nk_test4</prod:PartNumber>
    <prod:Name>nk_test4</prod:Name>
    <prod:Description>desc nk_test4</prod:Description>
    <prod:Orderable>Y</prod:Orderable>
    </prod:Product>
    </prod:ListOfProduct>
    </ns:ProductWS_ProductInsertOrUpdate_Input>
    </soapenv:Body>
    </soapenv:Envelope>
    The response error is:
    <?xml version="1.0" encoding="UTF-8" ?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/env elope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instanc e" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server</faultcode>
    <faultstring>Multiple matches found for instance of integration component 'Internal Product' using search specification '' in the business component 'Internal Product', based on user key 'Product User Key: 2'.(SBL-EAI-04390)</faultstring>
    <detail>
    <siebelf:errorstack xmlns:siebelf="http://www.siebel.com/ws/fault">
    <siebelf:error>
    <siebelf:errorsymbol>IDS_ERR_EAI_SA_MULTIPLE_MATCH </siebelf:errorsymbol>
    <siebelf:errormsg>Multiple matches found for instance of integration component 'Internal Product' using search specification '' in the business component 'Internal Product', based on user key 'Product User Key: 2'.(SBL-EAI-04390)</siebelf:errormsg>
    </siebelf:error>
    </siebelf:errorstack>
    </detail>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Also the same soap request was passing when we are using old siebel crm on demand release 12 urls:
    https://secure.crmondemand.com/Services/Integration or
    https://siebel.crmondemand.com/Services/Integration
    Also note that same API call works on release 14 if I perform all updates at one go and all inserts at one go.
    So my doubt is:
    1) Is there any change in handling of ProductWS_ProductInsertOrUpdate_Input api call for release 14 (or)
    2) do we need to do some setup/configuration at siebel end?
    Please help us in resolving this issue.
    Thanks,
    Nitesh K

    Alex,
    Thanks for the reply. I can understand the same with the response error that there are multiple records with the same user key exists. But why the same error is not getting thrown if I submit the same SOAP request for those two products individually? I am able to submit multiple products which are new in one SOAP request and multiple products which needs to be updated(i.e i already have there ProductId and IntegrationId) in another SOAP request using the same InsertOrUpdate api call. But when I submit one product which is new(i.e. to insert) and one which already exists(i.e to update) in a single SOAP request, then its giving me that error.
    One more strange thing is(as mentioned earlier) this same single SOAP request works in R12 of CRM OnDemand.
    Anyways please find below how I tested my investigation:
    I created two products in our BigMachines application "nk_11111_part" and "nk_22222_part" to integrate with siebel. Now I first generated SOAP request for nk_22222_part as below:
    <soapenv:Envelope>
    <soapenv:Body>
    <ns:ProductWS_ProductInsertOrUpdate_Input>
         <prod:ListOfProduct>
              <prod:Product>
              <prod:ExternalSystemId>nk_22222_part</prod:ExternalSystemId>
              <prod:Name>nk_22222_part</prod:Name>
              <prod:PartNumber>nk_22222_part</prod:PartNumber>
              <prod:Orderable>Y</prod:Orderable>
              <prod:Description>desc nnk_22222_part</prod:Description>
              <prod:DealerInvoicePrice>454</prod:DealerInvoicePrice>
              </prod:Product>
         </prod:ListOfProduct>
    </ns:ProductWS_ProductInsertOrUpdate_Input>
    </soapenv:Body>
    </soapenv:Envelope>
    Then I submitted the request and got ProductId and IntegratinId as "AAPA-LF3CR" in SOAP response. This we will store in our DB and use it for updating the same product for subsequent calls.
    Then I generated SOAP request for both the products nk_11111_part(not integrated) and nk_22222_part(integrated product) as below:
    <soapenv:Envelope>
    <soapenv:Body>
    <ns:ProductWS_ProductInsertOrUpdate_Input>
         <prod:ListOfProduct>
              <prod:Product>
              <prod:ExternalSystemId>nk_11111_part</prod:ExternalSystemId>
              <prod:Name>nk_11111_part</prod:Name>
              <prod:PartNumber>nk_11111_part</prod:PartNumber>
              <prod:Orderable>Y</prod:Orderable>
              <prod:Description>desc nk_11111_part</prod:Description>
              <prod:DealerInvoicePrice>324</prod:DealerInvoicePrice>
              </prod:Product>
              <prod:Product>
              <prod:ProductId>AAPA-LF3CR</prod:ProductId>
              <prod:IntegrationId>AAPA-LF3CR</prod:IntegrationId>
              <prod:ExternalSystemId>nk_22222_part</prod:ExternalSystemId>
              <prod:PartNumber>nk_22222_part</prod:PartNumber>
              <prod:Orderable>Y</prod:Orderable>
              <prod:Description>desc nk_22222_part</prod:Description>
              <prod:DealerInvoicePrice>454</prod:DealerInvoicePrice>
              </prod:Product>
         </prod:ListOfProduct>
    </ns:ProductWS_ProductInsertOrUpdate_Input>
    </soapenv:Body>
    </soapenv:Envelope>
    Now when I submit this request I am getting the above mentioned error. Note that both the products are newly created products in our application. So only user key ExternalSystemId with "nk_22222_part" for our integrated product exists
    in siebel. So logically the InsertOrUpdate api call should insert the first product "nk_11111_part" and update the
    second product "nk_22222_part". As mentioned earlier, the same flow works in R12 of Siebel CRM OnDemand.
    We are struck with this issue. Please help us and reply asap.
    Thanks,
    Nitesh K

  • My app seems to consume an enormous amount of API calls every day? Please help!

    I am tired and sad and frustrated here, and feel like a total moron. I am very sorry if my post is too long and not very well put together, but im beggin anyone with some experience here to please give me some advice.
    I am currently testing out a app I have created to let people add events, search for events, comment on and get notified about changes in events they have signed up for. I have used Azure Mobile Service for this, and it all seems to have worked well. This is
    mostly a learning app for me, since I am very much a noob.
    Now we are nearing launch of the app, and I have started to look at the numbers in Azure. I am on the free version right now, where 16k api calls a day are free (will move to priced tier on launch) - but the numbers look completely off the hook here!
    Every day 2-3 devices seem to run up 600-700 API calls. I do run the testing app hard, of course, but I guess some user might do that to.
    So - 4% of the daily free calls are consumed by 3 devices. That means 33 users could fill the quota, and the first paid tier only gives room for 300 users.
    Am I reading something wrong here? Is my app then not viable? I think it, even with my noobness, has a potentil to get a few thousand users. Does that mean Im gonna have to go to the top tier? Because I can not afford that.
    Over to the stack part of the question:
    I log the user in, I create the tables, and then when they hit search I do something like this:
    eventenItemList = await eventenTable.Take (200).Where (item => item.Dateandtimeend >= DateAndTimeIn).
    Where (item => item.Dateandtime <= DateAndTimeInEnd).
    Where (item => item.Fylke == fylke).
    Where (item => item.Pris <= MaksPris).ToListAsync ();
    I would expect that to be a single API-call, but it seems to run up tens of calls - just there? How is that possible?
    When the user is not in the app, I run a background service in Android that goes through a local db of events the user has created and then checks against the db for any changes to them. I do that like this:
    var table = db.Table<MyEvents> ();
    foreach (var e in table) {
    eventenItemList = await eventenTable.Where (item => item.Id == e.EventId).ToListAsync ();
    if (eventenItemList.Count == 0) {
    } else {
    //I here notify the user that something new is up - and what it is. Time changed, comments or whatever.
    Im guessing this is stupid of me, since it probably makes one API call for each loop here? But in the numbers it just seems to do 2 calls - like I expect it to.
    I am horribly lost here, people. I ran around a hundred random clicks around the app this evening - and racked up over 1500 api calls. I have been cold sweating since that. Any advice or info about how this api call-system works would be very much appreciated.

    Replying here in case someone else stumbles upon this post. This question was handled on SO:http://stackoverflow.com/questions/28685710/app-consumes-an-extreme-amount-of-api-calls-in-azure

  • Proper API call to disable socket with parallel model?

    Hi all,
    I am using the parallel model to asynchronously test 16 UUT's. At the end of each test, I have a temperature stabilization period. If this fails, I would like to "disable" the particular test socket that failed.
    I am using TS 2014 with LabVIEW. What is the proper API call for disabling a socket? I have tried "ModelData.TestSocket[0] = True" in the PreUUT callback as a simple test to disable socket 0, but I cannot get it to work, I get an error stating "Unable to access 'Model Data' "
    Thank you!
    Andrew

    Hi !
    If I'm not wrong, the number of sockets to launch is decided when evaluating the ModelOptions of your client file.
    To modify the nb of testsockets to LAUNCH I usually add a ModelOption callback in my client sequence. In this sequence you'll be able to modify the value stored in 'Parameters.ModelOptions.NumTestSockets'.
    However, once it is launched, you might want to 'wait' indefinely in your failed testsocket... You should wait for a particular execution to wait for example or for a psecific variable value... I don't see any other way to 'disable' a particular test socket...

  • Api for 'submit for approval'

    I would like to be able to use the content management event system to watch for incoming files. when a new file comes in i want to set some attributes based on the payload before it is submitted for approval. i am having problems finding the proper procedure to automatically submit the file for approval once i set the attribute values (which must be done while the file is in draft mode)
    is that possible?

    sorry. i posted this in the wrong forum.

  • Skipping ' submit for Approval '

    Hi ,
    I am setting up a document workflow process in KM . I have a requirement as follows ..
    Once a document is uploaded into the folder ( which is assigned with set of approval steps and
    users ) , I need to send all the documents in that folder  for approval process with out Approver admin manually clicking ' submit for Approval ' button . Is this possible by configuration or we need to write some extra code .
    Any help is appreaciated .
    Thanks
    Aneez

    Hi Aneez,
    yes you will need to write some extra code. The concept would be like that:
    1. you will have to implement an eventlistener which will be called, if a document is created or uploaded.
    2. this event listener has to call the API of the statemanagement service in order to submit the document.
    3. For each repository of interst, you can register your event listener using the getEventBroker method.
    There you have to specify the events, you are intersted in.
    Details:
    1. class MyEventListerner implements IEventReceiver{
    private static IResourceEvent CREATE_CHILD_EVENT = new ResourceEvent(ResourceEvent.CREATE_CHILD, null);
      public void received(IEvent event) {
        event.isLike(CREATE_CHILD_EVENT)) {
          IResource resource = (IResource)event.getParameter();
       this.submitResource(resource);
       private void submitResource(IResource resource){
         // get the statemanagement service from the resource
          IRepositoryServiceFactory factory = ResourceFactory.getInstance().getServiceFactory();
    IStatemanagementManager statemanagement =
          (IStatemanagementManager)factory.getRepositoryService(resource, IWcmConst.STATEMANAGEMENT_SERVICE);
    IStatemanagementResource sResource =
    statemanagement.getStatemangementResource(resource)
    IResourceTransition transition = sResource.getTransition("lbl.submit")
    // if everything is correct than transition is not null
    if (transition != null) transition.execute();   
    Please keep in mind, that this is only a scatch how it may work. You have to ensure, that the statemanagement is enabled for the parent folder of the resource. Otherwise, the transition may be null or not executable.
    I hope this helps.
    regards
    Andreas

  • Calling the Adobe form in a workflow step for Approval

    Hi All,
    We are creating a PCR scenario using Adobe forms for "Employee seperation". This form will require 7 subsequent approvals from various agents which is to be handled using a workflow.
    I had gone through the ISR cookbook and managed to create a scenario. I have also assigned it to a PDF form and a dummy workflow. Now from my PCR iview i am able to submit the form for my scenario which also triggers the dummy workflow(through the BUS7051-CREATED event).
    Right now this dummy workflow just sends a mail(by sendmail step) to the first approver. Now i want this workflow to send a workitem to the first approver for approval of this form which will have to appear in his UWL. When the approver double clicks on the workitem in UWL he should be able to view the form along with Approve/Reject/Cancel buttons. I am not aware how to do this. My questions are,
    <b>Is this handled by a decision step or an activity?
    If it is an activity step which Task/Business object method is used to handle this?
    If it is a decision step how do we make the Adobe form also to be displayed along with approve/Reject buttons?</b>
    We are using ECC5.0 and EP6.0.
    Thanks in advance for any help.
    Prasath N

    Hi Rajasekhar,
    The UWL issue has been resolved now and i am receiving the workitems in my UWL. But i am getting the following error when i am trying to execute the workitem from my UWL.
    <b>Service cannot be reached
    What has happened?
    URL http://xxxxxxxx.xxxx.xxx.xxx:8000/webdynpro/dispatcher/sap.com/pcui_gp~isr/IsrFormApprove call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system xxx with error code 404 and for the reason Not found.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:DALSPHSB_HSB_37-v:0-s:404-r:Notfound
    HTTP 404 - Not found
    Your SAP Internet Communication Framework Team
    </b>
    I have done the following configuration settings in SWFVISU transaction :
    Task : TS500000075
    Visualization Type : WebDynpro Java
    visualization parameter: Application
    visualization Value: IsrFormApprove
    visualization parameter: Package
    visualization Value: sap.com/pcui_gp~isr
    Is there anything else that i have missed out in the configuration?
    Message was edited by:
            prasath natesan
    Message was edited by:
            prasath natesan

  • Hi,When I submit the budget for approval, it is approved and base lined when we submit it for approval. It does not go in approval hierarchy. We want it to flow through approval hierarchy.

    Hi,When I submit the budget for approval, it is approved and base lined when we submit it for approval. It does not go in approval hierarchy. We want it to flow through approval hierarchy.

    Hi Amit,
    if I understand correctly, you just need for a particular object a tooltip to be showed.
    There is no such functionality hence you used the trick of using a hyperlink, which if clicked generates undesired behavior.
    Hyperlinks don't allow themselves to be disabled, therefore if you are using that workaround you must cope with that.
    I would suggest to create an Idea at [https://ideas.sap.com] for having in the properties of an object a tooltip, then post the link to the idea here and other users will vote if they like the idea.
    Thanks and regards,
    Simone

  • Calling Adobe form in a Workflow Step for approval

    Hello,
       There are some ISR forms and workflows in MSS which use Workflow tasks configured as JavaWebDynpro to call Adobe form from the Workflow Step.
    Is it possible to achieve the same using ABAP Web Dynpro and creating a new task and configuring to use it as an ABAP Web Dynpro (which can in turn call the Adobe form from the WD)?
    Thanks.

    Hi Anjali,
    1)You can develop an<b> RFC</b> that collects required basic data from R/3 and display them in <i>ABAP WD - Adobe Form</i>. The End user can change/fill the remaining contents of the Adobe Form and submits it for approval. The <b>RFC</b> again handles the triggering part of the <b>Workflow</b> and passes the form data to the workflow containers.And for approvals, you can use the <i><b>SWFVISU</b></i> to call a <b>ABAP WD</b> application from Workflow. And in turn the control again goes back to RFC and so...
    2)I dont have much idea in ECC 60 if there is a similar ABAP WD application like Standard Java WD <b>IsrFormApprove</b>.
    3)No idea.
    Regards,
    <i><b>Raja Sekhar</b></i>

Maybe you are looking for

  • Firefox after update is stuck in a loop of verifying addons and wiil not run.

    Following an automatic update, Firefox will not open. When trying to open, the message, in the Firefox Update window appears "Checking your add-ons for compatibility with this version of Firefox" This may take a few minutes" a Timing bar appears and

  • [SOLVED]Errors? on startx

    I normally do my login at tty and then issue the startx command. When I hit Ctrl + Alt + F1 to see the vc/1, it has a bunch of things listed xauth : creating new authority file /home/inxsible/.serverauth.xxxx X.Ord X Server 1.4.2 Release Date: 11 Jun

  • Error while receiving message from partner.

    HI All, i am having interface Thrid Party -- > XI -- > SAP We are using AS2 adapter at sender side and IDOC as receiver end. My scenerio was working fine till quality server and when we went live message started failing in seburger workbench. AS2 mes

  • Shifting Database from 8i to 9i

    I have a 8i Oracle database running on a machine , now i have installed orcale 9i on a sepreate machine , i want to move the complete 8i database on this new 9i machine , kindly guide me through the process in detail as i am a bit new to Oracle.

  • Column order is changed in criteria tab ,result tab column order unchanged

    I created a report in sample database with these columns in 11.1.1.6 1- C50 Region 2 D1 Office, 3 P1 Product 4 1-Revenue and 5 C1 Customer Name Hit Results and I can see the result in this order. If I change column order in result tab to say 1,5,2,3,