5 Replies Latest reply on Aug 20, 2009 8:30 AM by kukeltje

    variable resolver

    sravyts

      Hello,

      In jbpm3 there was the possibility to plugin your own variable resolver.
      Will this be possible in jbpm 4 as well?


      Wkr,
      Sofie

        • 1. Re: variable resolver
          kukeltje

          There is a jira issue about extending the resolver, not sure about makeing it configurable. What are you looking for?

          • 2. Re: variable resolver
            sravyts

            We want to create condition expressions on data that is not stored in task variables but in our own datastore. So we need to influence the way variables are resolved (this was perfectly ok how it worked in jbpm3:
            extending JbpmVariableResolver and retrieving the variables from our datarepository)

            Another option would be to create a java class which can handle some kind of expression language to generate a transition name, but I have a feeling this is duplicating code (juel is fine for us) and this also eliminates the possibility to use decision nodes (we have to change them to java nodes), which influences the process drawing in a way that it is not really correct.

            Or is there some other solution you can think of? I liked the solution we did for jbpm3, that is way I was wondering if something similar will be created in jbpm4, but maybe there is another solution in jbpm4?


            • 3. Re: variable resolver
              kukeltje

              I'd hope 'extending the resolver' would incorporate making it configurable as well. Please add a comment to the specific jira issue and refer to this post.

              • 4. Re: variable resolver
                sravyts

                I can't seem to find the jira issue you are talking about?

                • 5. Re: variable resolver
                  kukeltje

                  It is indeed kind of hidden: This was what I was talking about:

                  https://jira.jboss.org/jira/browse/JBPM-2203