1 2 Previous Next 17 Replies Latest reply on Jun 5, 2007 8:50 AM by estaub Go to original post
      • 15. Re: Problem in getting proper workflow transitions:
        maxp

        trailing L to hint the compiler to treat it as long
        (language fundamental)

        -Max

        • 16. Re: Problem in getting proper workflow transitions:

          Max,

          Is it something related to same context or something ? Any ideas how i can achieve this .

          I must mention i am creating seperate contexts in these different servlets if that might be the case. I am really unsure of this behaviour .

          Once you cross contexts, you're relying on the database to know about the state of the process. Within the same context, you will typically be re-reading from cache. So if you're not persisting the process instance for some reason, that's when you'll first see it.

          So you should check out the state of the database after closing the first context.

          It's illegal (meaning, "it will break occasionally") to work on the same process in two contexts at the same time.

          Your description of what you're doing has been a little too cursory to offer many specifics. You're leaving too much out. If it's too complicated to communicate, make a REAL simpler test case that illustrates the problem - not a "when I do something like"... statement.

          -Ed Staub

          • 17. Re: Problem in getting proper workflow transitions:

            Max,

            What I was trying to ask was:

            You're using a constant for a task instance ID.
            Where did it come from?
            What relationship does it have to the process instance you just created?

            Or is this another instance of "I do something like this" where you don't really use 1L at all?

            "What the L is 1L? " was a poor attempt at humor.

            -Ed Staub

            1 2 Previous Next