CHECKIN NEW on the service WORKFLOW_APPROVE

Hi, I'm trying to do this but I don't know exactly how should I do it.
On a Workflow, when I approve on an specific step, a doccument must be created in background (Checkin NEW)
I tried with a Java Filter and it seems to work... but only when I do a Checkin with the original document (the one that trigger the workflow). I don't know how to capture the WORKFLOW_APPROVE Service with the filter.
I mean:
CHECKIN NEW DOCUMENT A -> TRIGGER WORKFLOW -> SPECIFIC STEP APPROVED -> AUTOCHECKIN NEW DOCUMENT B
Any ideas?

I don't know what I did with my filter, but it know doesn't write any log, and one hour ago, it writes some traces I coded. I only added one line :S
public class AutoAnswer implements FilterImplementor {
     public int doFilter(Workspace ws, DataBinder dataBinder,
               ExecutionContext ctx) throws DataException, ServiceException {
          int result = FilterImplementor.CONTINUE;
          Report.info(
                    "Class AutoAnswer ",
                    "Class AutoAnswer v3- Begin Class AutoAnswer",
                    null);
          String idcService = dataBinder.getAllowMissing("IdcService");
          Report.info("Class AutoAnswer",
                    "Class AutoAnswer - idcService = " + idcService, null);
          if (idcService == null
                    || !idcService.startsWith("GET_WORKFLOWDOCREVISIONS")) {
               String service= "";
               if (idcService != null)
                    service= idcService;
               Report.info("Class AutoAnswer",
                         "Class AutoAnswer - Class AutoAnswer Ends"
                                   + service, null);
               return result;
          Report.info("Class AutoAnswer",
                    "Class AutoAnswer - Data "
                              + idcService, null);
          String dDocTitle = dataBinder.get("dDocTitle");
          if (dDocTitle.indexOf("TEST") > -1) {
               dataBinder.putLocal("dDocTitle", dDocTitle + "_TESTFILTER");
               createAns(dataBinder);
               Report.info("Class AutoAnswer",
                         "Class AutoAnswer - dDocTitle = " + dDocTitle
                                   + "__TESTFILTER", null);
          Report.info(
                    "Class AutoAnswer",
                    "Class AutoAnswer -  AutoAnswer Ends for " + dDocTitle,
                    null);
          return result;
     private void createAns(DataBinder m_binder) {
          DataBinder db = new DataBinder();
          db.copyLocalDataStateClone(m_binder);
          db.copyResultSetStateShallow(m_binder);
          db.setEnvironment(SharedObjects.getEnvironment());
          ResultSet rs = m_binder.getResultSet("DOC_INFO");
          String SecurityGrp = rs.getStringValueByName("dSecurityGroup");
          SystemUtils.outln("SecurityGrp ---> ::" + SecurityGrp);
          db.putLocal("dSecurityGroup", SecurityGrp);
          db.putLocal("primaryFile", "test2");
          db.putLocal("dDocTitle", m_binder.getLocal("dDocTitle")
                    + "_Auto CheckIn");
          db.putLocal("dDocName", "");
          db.setResultSets(m_binder.m_resultSets);
          db.putLocal("IdcService", "CHECKIN_NEW");
}And this is my filter hda:
@ResultSet Filters
4
type
location
parameter
loadOrder
workflowComputeDocStepInfo
mypackage.AutoAnswer
null
1
@endI didn't change any in the configuration and later it was running and showing logs, but now, the filter is muted. The java code compiles without problems in Eclipse every time.
Any ideas?

Similar Messages

  • I want to question about the official service at the service center of Sony.

    I want to question about the official service at the service center of Sony.
    long since I like the models and items sony. from start playstation, cameras, camcorders up, I've ever had. and a new camera that I bought two years ie compact cameras Sony Cybershot DSC H200. as of a month ago, a camera was having problems in lenses that would not close. and setting the automatic mode to move by itself. I came to the Sony Service Center in Makassar, precisely on Jl. Shop Pengayomann A5 / 05 (0411) 442340.
    operator initially said only two weeks to work on my camera. but this week has been more dau even want to go in a month tomorrow, dated July 9, no news from the service center. and I kept the call to the office service. as well as assorted reasons. there are no spare parts or technical constraints, and the last one I call to his office, he said the factory spare part is damaged. imported directly from Singapore. I think, ko new spare part it can be damaged before using that? how the quality of this Sony spare part? ugly? not good? why?
    I was disappointed with this situation, where soon it will Eid, want to return home as well to Java. but the camera has not been settled workmanship?
    nah, roughly what is the solution of the Sony plagued with this problem? please help, because he did not know to whom to complain. operator had just said: it's up to the father alone.
    once again I asked for his help. solution. if you can before Eid arrived.
    Thank you,
    AD. Rusmianto

    Hi awwee107, 
    Welcome to the Sony Community! 
    We have forwarded your query to the relevant team for their further assistance and someone from local CC will contact you.
    Thanks!
     

  • Error creating a new user profile service application: The specified database is not a valid synchronization database

    When trying to create a new user profile service application on a new SharePoint install I get the following error:
    "The specified database is not a valid synchronization database"
    The installation then fails and does not create the third database. 
    I found some threads with similar problems but it involved upgrading an existing db.  In this case we want to create a new one.  Here is the relevant ULS log info:
    Starting schema provisioning of SynchronizationDatabase 'SP15_TEST_ENT_SyncDB'
    Provisioning the SP15_TEST_ENT_SyncDB database with the script at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Template\SQL\SPS\drop_procs.sql.
    Provisioning the SP15_TEST_ENT_SyncDB database with a script stream.
    Ensuring that the SP15_TEST_ENT_SyncDB database exists . . .
    The SP15_TEST_ENT_SyncDB database does not exist. 
    It will now be created.
    Setting the AutoClose option to False on the database SP15_TEST_ENT_SyncDB.
    Setting the ArithAbort option to True on the database SP15_TEST_ENT_SyncDB.
    Setting the TruncLogOnChkpt option to True on the database SP15_TEST_ENT_SyncDB.
    Starting schema evaluation of existing SynchronizationDatabase 'SP15_TEST_ENT_SyncDB'
    Validate Database: validating sync database
    Validate Database: validation failed: Error code -2
    Application error when access /_admin/NewProfileServiceApplicationSettings.aspx, Error=The specified database is not a valid synchronization database 
     at Microsoft.Office.Server.Administration.SynchronizationDatabase.Provision()   
     at Microsoft.Office.Server.Administration.UserProfileApplication.Provision()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.DoCreateApplication()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.OnOkButtonClick(Object sender, EventArgs e)   
     at System.EventHandler.Invoke(Object sender, EventArgs e)   
     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)   
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Microsoft.SharePoint.Administration.SPDatabaseException: The specified database is not a valid synchronization database  
     at Microsoft.Office.Server.Administration.SynchronizationDatabase.Provision()   
     at Microsoft.Office.Server.Administration.UserProfileApplication.Provision()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.DoCreateApplication()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.OnOkButtonClick(Object sender, EventArgs e)   
     at System.EventHandler.Invoke(Object sender, EventArgs e)   
     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)   
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.SharePoint.Administration.SPDatabaseException:
    The specified database is not a valid synchronization database   
     at Microsoft.Office.Server.Administration.SynchronizationDatabase.Provision()   
     at Microsoft.Office.Server.Administration.UserProfileApplication.Provision()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.DoCreateApplication()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.OnOkButtonClick(Object sender, EventArgs e)   
     at System.EventHandler.Invoke(Object sender, EventArgs e)   
     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)   
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
     at System.Web.UI.Page.HandleError(Exception e)   
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
     at System.Web.UI.Page.ProcessRequest()   
     at System.Web.UI.Page.ProcessRequest(HttpContext context)   
     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()   
     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    I Tried to create another one under a different name (databases also) and I get the same error. 
    The SharePoint instance has the march mandatory update installed.  The sql instance we are using is an existing SQL cluster for other SharePoint poc's. 
    Has anybody seen this issue before? 

    I had the same problem and could not figure out what was wrong for the longest time.  I then had the idea to check in the model system database to see if there were any extra custom tables in that database.  Any tables that are in the model database
    are put into any new database when it is created.  I had some custom tables in the model database so I deleted the custom tables in the model database and deleted the failed user profile service application and its databases and then tried to recreate
    the user profile service application again and it worked with no errors

  • How do I get a new value for the service name field and update it in Connection Properties?

    I am running Windows Vista. I just upgraded to Firefox 4. When I try to log on to the internet, it tells me the proxy server is refusing connections. A diagnostic reported Error 815 and said the remote server is not responding because there is an invalid value for the "Service Name" field. It said to get a new value and update it in Connection Properties. How do I do this?

    When you create a new film script, the first page you see is a title page.
    The page after this title page is the one where you generally type in your scenes.
    It looks like you are facing some issue and not able to delete any text.
    Can you please send me this script so that I can have a better look at your issue?
    You can save this script to disk by using option 'File -> Save to disk'. This will create a '.stdoc' file on your system.
    Just mail this '.stdoc' file to me at 'roverma <at> adobe <dot> com'
    Thanks

  • New line item in the service contract

    Hi Gurus,
    I have requirement to add the new line item in the service contract. Details are as follows.
    as per the requirment, manually we are entering the outbound category via web Ui (service -> service contract).Now I have to develope a badi/method  in standard badi exec_methodcall_ppf which will insert a new line item with the same material as of outbout category but with the item category as inboud.
    could you please help in how can I maintain the new line time. I know we have to use the crm_order_maintain FM but I'm confused what all parameter we need to pass to maintain this.
    can someone please share the code to do that. TIA

    Hi Paul,
    It seems there is no option in changing the condition records at the billing plan item level.
    Please try the following.. see if it helps. To execute the invoices with new condition record values directly, make the settings at the billing item category level goto -- the billing document frame -- under serivces frame -- pricing type select option Carryout new pricing (Option B). This option updates the billing document at the time of invoicing with new price calculation.
    please see if this can help you out.
    Have a good day!!!
    Nandu

  • I have an 2008 model MacBook running OSX 10.6.8 with an iphoto version 7.1.5. The services using this iphoto version are no longer offered. Will my MacBook run the newer iPhoto versions?

    I have an 2008 model MacBook running OSX 10.6.8 with an iphoto version 7.1.5. The services using this iphoto version are no longer offered. Will my MacBook run the newer iPhoto versions?

    You can run iPhoto 9.2.3 with the system you currently have. It's available thru iLife 11 as Niel has already mentioned.
    OT

  • New-PowerPivotServiceApplication : The PowerPivot System Service does not exist in the farm

    PS C:\Users\_svc_admin> New-PowerPivotServiceApplication -ServiceApplicationName $AppPoolName -DatabaseServerName $DatabaseServer -DatabaseName $DatabaseName -AddtoDefaultProxyGroup:$true
    New-PowerPivotServiceApplication : The PowerPivot System Service does not exist in the farm. At line:1 char:1
    + New-PowerPivotServiceApplication -ServiceApplicationName $AppPoolName -DatabaseS ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~
        + CategoryInfo          : InvalidData: (Microsoft.Analy...viceApplication:
       NewPowerPivotServiceApplication) [New-PowerPivotServiceApplication], Gemin
      iException
        + FullyQualifiedErrorId : Microsoft.AnalysisServices.SPAddin.PowerShell.Ne
       wPowerPivotServiceApplication
    Installation created these files on (14\TEMPLATE\SQL) different folder than
    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\SQL
    PowerPivotDbLogic.sql
    PowerPivotDbSchema.sql
    I copied the files to the correct location and it works

    PS C:\Users\_svc_admin> New-PowerPivotServiceApplication -ServiceApplicationName $AppPoolName -DatabaseServerName $DatabaseServer -DatabaseName $DatabaseName -AddtoDefaultProxyGroup:$true
    New-PowerPivotServiceApplication : The PowerPivot System Service does not exist in the farm. At line:1 char:1
    + New-PowerPivotServiceApplication -ServiceApplicationName $AppPoolName -DatabaseS ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~
        + CategoryInfo          : InvalidData: (Microsoft.Analy...viceApplication:
       NewPowerPivotServiceApplication) [New-PowerPivotServiceApplication], Gemin
      iException
        + FullyQualifiedErrorId : Microsoft.AnalysisServices.SPAddin.PowerShell.Ne
       wPowerPivotServiceApplication
    Installation created these files on (14\TEMPLATE\SQL) different folder than
    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\SQL
    PowerPivotDbLogic.sql
    PowerPivotDbSchema.sql
    I copied the files to the correct location and it works

  • Why can't I assign hardware and guest os profiles to servers in the new SCVMM 2012 Service Templates?

    Trying to learn SCVMM 2012, but I'm confused about how Guest OS and Hardware Profiles work with the new 2012 Service Templates.
    I create a Hardware Profile and a Guest OS Profile. Then I open the Create VM Template wizard. In this wizard I can assign the Hardware and Guest OS profiles I created under the Configure Hardware and Configure Operating System steps in the wizard.
    If I open the new Service Template wizard, select a Single Tier Server (for example), open the Service Template Designer and go to the properties of the server I find under Hardware Configuration and OS Configuration I cannot assign my Hardware and Guest OS
    profiles to the server.
    Why is this? It seems like extra work to have not be able to assign these profiles to servers in a service template. Is there something fundamental I'm missing here?

    I have the same issues with the equipment I maintain. Two things are consistent that I see between this forum and my set up. I had 10.5 on all our Macs and each of them could connect with out issue to the shares on a windows xp machine. I have three Mac computers I am working with. 1. My main computer a MacBook Pro 2.4ghz core 2 duo, an Intel iMac, and an older Mac Pro G5 running OS 10.5 server.
    I have another server running kiosk or signage displays that is a windows xp machine. All of my macs could access the windows xp machine by clicking on it and authenticating to it and then the shares will show up.
    I upgraded my MacBook Pro first to 10.6 and have been unable to connect to the windows shares ever since. Keep getting Authenticatoin failure. So my work around is to transfer files to the 10.5 macs and then screen share one of them and access the windows share from them. Spoke with Apple support and they could not help and said it was a know issue but did not have a solution.
    Last week I upgraded the iMac to 10.6 and it too, now will not authenticate to the windows shares.
    Here are the strange things... I can take my macbook pro home and access all windows shares on my home networked computers. I even took the windows xp machine home from work to test it and I was able to connect to the shares without issue from my Macbook pro.
    Two things stand out ... you mentioned a Cisco router and we use a Cisco router at work. Also, both of us have upgraded to 10.6 and authentication fails at that time.
    Problem is between OS 10.6 and the Cisco routers I believe. I am not sure how to fix the issue though.

  • I have a MacBook Pro that I bought almost a year ago, next day problems with the hard disc that could not be diagnosed by the service, after 3 months they realized it and changed it with a new one, after 3-4 months heated and shut down and dont work anymo

    I have a MacBook Pro that I bought almost a year ago, next day problems with the hard disc that could not be diagnosed by the service, after 3 months they realized it and changed it with a new one, after 3-4 months heated and shut down by itself and dont work anymore. From apple say even a year has not passed it is not under garancy and I should pay to fix it without ans issue.

    I have a MacBook Pro that I bought almost a year ago, next day problems with the hard disc that could not be diagnosed by the service, after 3 months they realized it and changed it with a new one, after 3-4 months heated and shut down by itself and dont work anymore. From apple say even a year has not passed it is not under garancy and I should pay to fix it without ans issue.

  • I bought a new iphone 4s and I have a problem with the service. How can it be solved? the SIM card is new and was working perfect withe iPhone 4G

    I bought a new iphone 4s and I have a problem with the service. How can it be solved? the SIM card is new and was working perfect withe iPhone 4G

    Under the answer you want to mark as correct you should see a box that says Correct with a green symbol to the left and a box with Helpful with an orange star to the left. Click on the one you want.
    And thanks for thinking about that, it is appreciated.

  • How to get the service from my old iphone onto the new one

    I've transfered everything from the old iphone to the new one but the service didn't transfer. I would like to be able to call and text.

    Carrier is the only one that can transfer services. If the phone takes a sim card you would need to swap it out unless its the new iphone 5 it takes a micro sim or if its a 3gs to a 4 they also have different size sim cards.

  • Recently i got my Macbookpro repair through apple service centre. As per them motherboard is required to be replace.I ask them after repair to return my old board-the service centre told me that apple will provided new board only on return of old one?

        Recently i got my Macbookpro repair through apple service centre. As per them motherboard is required to be replace.I ask them after repair to return my old board-the service centre told me that apple will provided new board only on return of old one? Is this the Apple policy, cn anyone pls help me out

    Hi p,
    Apple keeps all replaced parts. That's their policy.

  • Hi, I am new to Mac and i managed to install and configure all the services. Now my issue is when i sending mail using the local server to internal, mail are not receiving. Mail queue showing Connection refused error. Please help me

    I am new to Mac and i managed to install and configure all the services. Now my issue is when i sending mail using the local server to internal, mails are not receiving. Mail queue showing Connection refused error. Please help me
    Thanks
    GIRI

    Try this -> http://support.apple.com/kb/TA38632?viewlocale=en_US

  • HT1386 I have a brand new iphone 4s the service provider loaded my contacts onto the phone I am connected to my computer and have itunes up it wants to set up as a new iphone will I lose my contacts if I say yes?

    I have a brand new iphone 4s the service provider loaded my contacts onto the phone I am connected to my computer and have itunes up it wants to set up as a new iphone will I lose my contacts if I say yes?

    Yes you will.

  • I just recently got a new iPhone 4 and the service is all of a sudden terrible and my calls are dropped constantly. This has never happened before. Any suggestions on what I can do? This is really frustrating!

    i just recently got a new iPhone 4 (my other one had water damage) and the service is all of a sudden terrible and my calls are dropped constantly. This has never happened before. Any suggestions on what I can do? This is really frustrating!

    May be your carrier but try a reset:
    Hold the Sleep/Wake and Home buttons until the screen goes dark and the Apple logo appears

Maybe you are looking for

  • How to create the Set ID for report writer

    Hi I am suppose to create the Set id . Please suggest me the t-code etc for creating set id. Thanks Shiv

  • How to Print a report with 50 columns. Crystal Reports

    Dear Experts, I'm Using Crystal Reports 2008. I have a requirement that 50 columns should be placed in a  Single Report with single line . But Page size should be A4 ( While Printing). With Page Size A4 I'm able to place 5 columns. Is there any possi

  • Outstanding of bills

    Hi friends, When we create sales order is there a possible to view the number of bills based on the payment term for that particular customer? In other words,we know the outstanding bills in SAP are based on the number of days based on the payment te

  • Apple 30" LCD working on a PC?

    hey, im looking into getting the 30" lcd, but i want to use it with a new pc that i got. the video card on it is top of the line, so its got two dvi's, will the lcd be able to connect directly? or do i have to get this dvi/adc adapter from apple?

  • Itunes doesn't connect

    when i connect to itunes it doesn't display anything