Topic
  • 2 replies
  • Latest Post - ‏2013-05-16T06:08:49Z by PoulomiGupta
PoulomiGupta
PoulomiGupta
124 Posts

Pinned topic Workflow | ReserveEntryInStep

‏2013-04-19T05:04:06Z |

If in ReserveEntryInStep( wrkflowItem,Step Path , [User ] ) function no user name is paased then to whom the item will be reserved ?

 

Thanks

Poulomi.

  • PoulomiGupta
    PoulomiGupta
    124 Posts
    ACCEPTED ANSWER

    Re: Workflow | ReserveEntryInStep

    ‏2013-05-16T06:08:49Z  
    • KaranBal
    • ‏2013-05-15T21:41:38Z

    I have not tested this but one would imagine that if user is not explicitly defined, then the user with the context will hold the item reservation.

    Therefore if a user was logged into the MDMCE system and executed this function, that the logged in user will be the one reserving the item. If you updated it using code, then whoever holds the context in that code execution will reserve it e.g. the username used in function getContext(user,password,company).

    You can confirm this behavior by testing different use cases.

    Thanks Karan !

  • KaranBal
    KaranBal
    108 Posts

    Re: Workflow | ReserveEntryInStep

    ‏2013-05-15T21:41:38Z  

    I have not tested this but one would imagine that if user is not explicitly defined, then the user with the context will hold the item reservation.

    Therefore if a user was logged into the MDMCE system and executed this function, that the logged in user will be the one reserving the item. If you updated it using code, then whoever holds the context in that code execution will reserve it e.g. the username used in function getContext(user,password,company).

    You can confirm this behavior by testing different use cases.

  • PoulomiGupta
    PoulomiGupta
    124 Posts

    Re: Workflow | ReserveEntryInStep

    ‏2013-05-16T06:08:49Z  
    • KaranBal
    • ‏2013-05-15T21:41:38Z

    I have not tested this but one would imagine that if user is not explicitly defined, then the user with the context will hold the item reservation.

    Therefore if a user was logged into the MDMCE system and executed this function, that the logged in user will be the one reserving the item. If you updated it using code, then whoever holds the context in that code execution will reserve it e.g. the username used in function getContext(user,password,company).

    You can confirm this behavior by testing different use cases.

    Thanks Karan !