Anonymous_User Absent Member.
Absent Member.

Re: How to check if a user is involved in another workflows?

On 11/01/2012 03:44 PM, joshuaniu wrote:
>
> Steven,
>
> After I changed to use Provisioning Administrator account, I got all the
> soap response I need. However, the transfer user info is not in the any
> of the soap response. And advice to find if a user is involved in the
> transfer process at running status?
>
>

Greetings,
If I understand your process correctly,

workflow: "TransferUser"

Transfer user: ablake


If the workflow is set-up so that ablake would be the recipient of the
workflow "TransferUser" then you should be able to use AND you are only
interested in the case where the workflow is still "in process" / queued
then using getProcessesByQuery in soapUI would be:

<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ser="http://www.novell.com/provisioning/service">
<soapenv:Header/>
<soapenv:Body>
<ser:getProcessesByQueryRequest>
<ser:ProcessInfoQuery logic="AND" order="REQUEST_ID">


<ser:processId>cn=TransferUser,cn=RequestDefs,cn=AppConfig,cn=User
Application Driver,cn=driverset1,o=system</ser:processId>
<ser:recipient>cn=ablake,ou=users,o=data</ser:recipient>
<ser:approvalStatus>0</ser:approvalStatus>
<ser:processStatus>0</ser:processStatus>
</ser:ProcessInfoQuery>
<ser:arg1>-1</ser:arg1>
</ser:getProcessesByQueryRequest>
</soapenv:Body>
</soapenv:Envelope>



--
Sincerely,
Steven Williams
Lead Software Engineer
NetIQ
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: How to check if a user is involved in another workflows?


Steven,

Thanks a lot for your advice. Our workflow will set DA of the
transferred user as the recipient, not the transferred user. This is a
business requirement. Our initial work around design will be adding a
flag to the transferred user during the transfer process. How do you
like this idea?


--
joshuaniu
------------------------------------------------------------------------
joshuaniu's Profile: https://forums.netiq.com/member.php?userid=2960
View this thread: https://forums.netiq.com/showthread.php?t=45069

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: How to check if a user is involved in another workflows?

On 11/02/2012 09:34 AM, joshuaniu wrote:
>
> Steven,
>
> Thanks a lot for your advice. Our workflow will set DA of the
> transferred user as the recipient, not the transferred user. This is a
> business requirement. Our initial work around design will be adding a
> flag to the transferred user during the transfer process. How do you
> like this idea?
>
>

Greetings,
If the user being transferred is not the recipient or the initiator
then you will not be able to do what you want via the SOAP endpoints.

If you add a flag as part of the Transfer Workflow (before the
Approval Activity) and then modify it again after the transfer that will
be okay. You will need to look for this particular value in the
attribute in your other workflow.

This new approach is "simpler" because it does not require any SOAP call
and parsing. You can just utilize and .get(%dn of the user%, user,
%attribute%) call and then go from there.



--
Sincerely,
Steven Williams
Lead Software Engineer
NetIQ
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: How to check if a user is involved in another workflows?


Steven,

Thanks a lot for your reply. What you said is exactly what we are trying
to do. That is wonderful!

Have a nice day,


--
joshuaniu
------------------------------------------------------------------------
joshuaniu's Profile: https://forums.netiq.com/member.php?userid=2960
View this thread: https://forums.netiq.com/showthread.php?t=45069

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.