Currently Online:

Infopath - Some rules were not applied

Last post 05-09-2008, 12:43 PM by tbyrne. 6 replies.
Sort Posts: Previous Next
  •  05-07-2008, 12:05 PM 23685

    Infopath - Some rules were not applied

    Hello All,

    I have a problem with my infopath form. I'm just tring to have all the outcomes in my "action" field in infopath.

    Here is how I did:

    1. Create an infopath form with a drop box which I named "action"

    2. Integrate the form in K2. (As shown in the "How to K2" videos)

    3. Launch a Infopath client wizard, and I specify the "action" field, where it asks "Task action field" and I click "yes" to automatically map the outcomes of the activity to my infopath form.

    4. Deploy

    When I open the form, I have an infopath error saying: "Some rules were not applied".

    Here is a post that says to add the "Dynamic web service" in the smartobject service to resolve this problem.

    http://k2underground.com/forums/post/22145.aspx

    So I went were it says in this post, but I can't find the following in my dropdown service.

    "k2.backpearl.UKEU.ServiceObjects.DynamicWeb.ServiceBrokers.ServiceBroker"

    Have you any idea of what I did wrong?  Can you help me to add the missing service?

    Thanks in advance for your time.

    Vigoret

    Filed under: ,
  •  05-08-2008, 9:05 AM 23707 in reply to 23685

    Re: Infopath - Some rules were not applied

    Are you, by chance, using a web client to open your InfoPath form?
    Tim Byrne
    Clarity Consulting
    http://www.claritycon.com
  •  05-08-2008, 11:21 AM 23712 in reply to 23707

    Re: Infopath - Some rules were not applied

    Yes, I'm using a web browser to open the infopath form.

  •  05-08-2008, 11:32 AM 23714 in reply to 23712

    Re: Infopath - Some rules were not applied

    Ok, good.  Then I believe this is part of a known issue where the path to the data sources is inserted into your InfoPath form incorrectly by K2.  You should be able to find your solution here:  http://k2underground.com/forums/post/21664.aspx

     


    Tim Byrne
    Clarity Consulting
    http://www.claritycon.com
  •  05-08-2008, 12:50 PM 23718 in reply to 23714

    Re: Infopath - Some rules were not applied

    Hi tbyrne,

    Thanks for your response

    I have tried this resolution method without success.

    But I don't think that it is related to the fact that I use browser enabled forms.

    Because I just tried with the option of infopath client and it opens without error, but in the "action" dropdown field there is an entry wich says : "No actions are available". And when I try to submit the form I have the following error

    Some rules were not applied

    InfoPath cannot submit the form.
    An error occurred while the form was being submitted.
    The SOAP response indicates that an error occurred on the server:

    System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: The worklist item cannot be completed due to the following reason: Worklist item not found
       at SourceCode.Workflow.RuntimeServices.Functions.InfoPathFunctions.HandleException(Exception ex)
       at SourceCode.Workflow.RuntimeServices.Functions.InfoPathFunctions.SubmitInfoPathData(Object infoPathFormXml)
       at SourceCode.Workflow.RuntimeServices.InfoPathService.SubmitInfoPathData(Object infoPathFormXml)
       --- End of inner exception stack trace ---
     

    Any idea of the problem?

    Vigoret

  •  05-09-2008, 12:40 PM 23742 in reply to 23718

    Re: Infopath - Some rules were not applied

    Can you describe your process?  Is it a very simple InfoPath client event linked to an InfoPath form without any special logic, or is there any other complexity going on within your process?  It still sounds kind of like a data source issue, what happens when you preview the form from your development environment?
    Tim Byrne
    Clarity Consulting
    http://www.claritycon.com
  •  05-09-2008, 12:43 PM 23743 in reply to 23718

    Re: Infopath - Some rules were not applied

    There wasn't much of a solution here, but it may help:  http://k2underground.com/forums/thread/18716.aspx
    Tim Byrne
    Clarity Consulting
    http://www.claritycon.com
View as RSS news feed in XML