This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Trigger state on assignmend approval (on the same object)

Hi

I'm creating a workflow for the assignment class.

Now I'd like to transition a state when the assignment itselv is approved/finished, but the state transition-triggers only offer the possibility to trigger on a separate assignment approval.

I had the idea to use condition trigger when the approved-by property isn't empty, but this causes the error "Wrong parameter. (Duplicate user id.) (0x80070057)".

So is there another way to trigger a state transition when ON an object the assignment is approved?

(VBScript also welcome)

Thanks

Parents
  • When the assignment is on the object itself it is "approved" or "rejected" simply by moving to the next workflow state, so modify your workflow so that the state transitions are appropriately named and their meaning is clear to the user. There's no separate "approve action" for these types of assignments.

  • Thanks for answering, Joonas.

    I understand the idea of using the workflow states. Now in this case we are on the assignment class itself and since the users are used to use the checkbox-feature as in assignments without a workflow. that's why I'd like to trigger the workflow from the checkbox and not vice versa.

    isn't there any way to trigger the workflow with any property condition or vbscript?

Reply
  • Thanks for answering, Joonas.

    I understand the idea of using the workflow states. Now in this case we are on the assignment class itself and since the users are used to use the checkbox-feature as in assignments without a workflow. that's why I'd like to trigger the workflow from the checkbox and not vice versa.

    isn't there any way to trigger the workflow with any property condition or vbscript?

Children
  • I suppose it should be possible at least with scripting / VAF development somehow but I don't have any guidance to give here unfortunately. For separate assignments the users who completed the assignment are stored in "Marked as complete by" and "Marked as reject by" built-in properties but I don't think it works the same way for these simple assignments.

    Using separate assignments is not an option here?