Sample Codes

WFGetTempQueueAssignmentReport

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WFGetTempQueueAssignmentReport_Input>\n"

+"<Option>WFGetTempQueueAssignmentReport</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"</WFGetTempQueueAssignmentReport_Input>";

  

Note

This data has to be changed in highlighted section of the Test Driver code for running WFGetTempQueueAssignmentReport call.

View TestDriver Sample Code

 

 

 

WFGetUserDiversionReport

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WFGetUserDiversionReport_Input>\n"

+"<Option>WFGetUserDiversionReport</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<UserId>2</UserId>\n"

+"</WFGetUserDiversionReport_Input>";

 

Note

This data has to be changed in highlighted section of the Test Driver code for running WFGetUserDiversionReport call.

View TestDriver Sample Code

 

 

 

WFGetWorkAuditHistory

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WFGetWorkAuditHistory_Input>\n"

+"<Option>WFGetWorkAuditHistory</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<UserId>2</UserId>\n"

+"</WFGetWorkAuditHistory_Input>";

 

Note

This data has to be changed in highlighted section of the Test Driver code for running WFGetWorkAuditHistory call.

View TestDriver Sample Code

 

WMGetUsersInQueue

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WMGetUsersInQueue_Input>\n"

+"<Option>WMGetUsersInQueue</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<QueryName>"+queryname+"</QueryName>\n"

+"</WMGetUsersInQueue_Input>"

 

Note

This data has to be changed in highlighted section of the Test Driver code for running WMGetUsersInQueue call.

View TestDriver Sample Code

 

 

WFGetExpiredWorkItemLog

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WFGetExpiredWorkItemLog_Input>\n"

+"<Option>WFGetExpiredWorkItemLog</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<ProcessDefinitionId>1</ProcessDefinitionId>\n"

+"<ReportType>D</ReportType>\n"

+"</WFGetExpiredWorkItemLog_Input>";

 

Note

This data has to be changed in highlighted section of the Test Driver code for running WFGetExpiredWorkItemLog call.

View TestDriver Sample Code

 

 

WFGetWorkItemHistory

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WFGetWorkItemHistory_Input>\n"

+"<Option>WFGetWorkItemHistory</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<ProcessInstanceId>3</ProcessInstanceId>\n"

+"<NoOfRecordsToFetch>"+7+"</NoOfRecordsToFetch>\n"

+"<SortOrder>"+A+"</SortOrder>\n"

+"</WFGetWorkItemHistory_Input>";

 

Note

This data has to be changed in highlighted section of the Test Driver code for running WFGetWorkItemHistory call.

View TestDriver Sample Code

 

 

 

WFGetWorkItemExceptionLog

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WFGetWorkItemExceptionLog_Input>\n"

+"<Option>WFGetWorkItemExceptionLog</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<ProcessDefinitionId>2</ProcessDefinitionId>\n"

+"<ExceptionId>1</ExceptionId>\n"

+"<ReportType>D</ReportType>\n"

+"</WFGetWorkItemExceptionLog_Input>";

 

Note

This data has to be changed in highlighted section of the Test Driver code for running WFGetWorkItemExceptionLog call.

View TestDriver Sample Code

 

 

 

 

WFGetProcessDelayLog

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WFGetProcessDelayLog_Input>\n"

+"<Option>WFGetProcessDelayLog</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<ProcessDefinitionId>2</ProcessDefinitionId>\n"

+"<ReportType>D</ReportType>\n"

+"</WFGetProcessDelayLog_Input>";

 

Note

This data has to be changed in highlighted section of the Test Driver code for running WFGetProcessDelayLog call.

View TestDriver Sample Code

 

 

 

WFGetProcessLoadHistory

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WFGetProcessLoadHistory_Input>\n"

+"<Option>WFGetProcessLoadHistory</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<ProcessDefinitionId>2</ProcessDefinitionId>\n"

+"<ReportType>D</ReportType>\n"

+"</WFGetProcessLoadHistory_Input>";

 

Note

This data has to be changed in highlighted section of the Test Driver code for running WFGetProcessLoadHistory call.

View TestDriver Sample Code

 

 

 

WFGetQueueLoadHistory

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WFGetQueueLoadHistory_Input>\n"

+"<Option>WFGetQueueLoadHistory</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<QueueId>4</QueueId>\n"

+"<ReportType>D</ReportType>\n"

+"</WFGetQueueLoadHistory_Input>";

 

Note

This data has to be changed in highlighted section of the Test Driver code for running WFGetQueueLoadHistory call.

View TestDriver Sample Code

 

 

 

WFGetActivityDelayLog

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WFGetActivityDelayLog_Input>\n"

+"<Option>WFGetActivityDelayLog</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<ProcessDefinitionId>2</ProcessDefinitionId>\n"

+"<ReportType>D</ReportType>\n"

+"</WFGetActivityDelayLog_Input>";

 

Note

This data has to be changed in highlighted section of the Test Driver code for running WFGetActivityDelayLog call.

View TestDriver Sample Code

 

 

 

WFGetProcessTurnAroundLog

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WFGetProcessTurnAroundLog_Input>\n"

+"<Option>WFGetProcessTurnAroundLog</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<ProcessDefinitionId>2</ProcessDefinitionId>\n"

+"<ReportType>D</ReportType>\n"

+"</WFGetProcessTurnAroundLog_Input>";

 

Note

This data has to be changed in highlighted section of the Test Driver code for running WFGetProcessTurnAroundLog call.

View TestDriver Sample Code

 

 

 

WFGetUserPerformanceLog

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WFGetUserPerformanceLog_Input>\n"

+"<Option>WFGetProcessDefinition</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<ProcessDefinitionId>1</ProcessDefinitionId>\n"

+"<ReportType>D</ReportType>\n"

+"<UserGroupFlag>U</UserGroupFlag>\n"

+"<UserList><UserInfo><UserGroupId>6</UserGroupId>\n"

+"</UserInfo></UserList>\n"

+"</WFGetUserPerformanceLog_Input>";

 

 

Note

This data has to be changed in highlighted section of the Test Driver code for running WFGetUserPerformanceLog call.

View TestDriver Sample Code

 

 

WFGetProcessLog

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WFGetProcessLog_Input>\n"

+"<Option>WFGetProcessLog</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<ProcessDefinitionId>1</ProcessDefinitionId>\n"

+"<ReportType>D</ReportType>\n"

+"</WFGetProcessLog_Input>";

 

Note

This data has to be changed in highlighted section of the Test Driver code for running WFGetProcessLog call.

View TestDriver Sample Code

 

 

 

WFGetPreferredQueueIist

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WFGetPreferredQueueIist _Input>\n"

+"<Option>WFGetPreferredQueueList</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<UserId>2</UserId>\n"

+" </WFGetPreferredQueueIist_Input>";

 

 

Note

This data has to be changed in highlighted section of the Test Driver code for running WFGetPreferredQueueIist call.

View TestDriver Sample Code

 

 

WFSetPreferredQueueList

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WFSetPreferredQueueList_Input>\n"

+"<<Option>WFSetPreferredQueueList</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<UserID>2</UserID>\n"

+"<Operation>A</Operation>\n"

+"<QueueList><QueueInfo><QueueID>1</QueueID>\n"

+"<QueueID>2</QueueID>\n"

+"</QueueInfo></QueueList>\n"

+"</WFSetPreferredQueueList_Input>";

 

 

Note

This data has to be changed in highlighted section of the Test Driver code for running WFSetPreferredQueueList call.

View TestDriver Sample Code

 

 

WMChangeQueueProperty

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WMChangeQueueProperty_Input>\n"

+"<Option>WMChangeQueueProperty</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<QueueID>12</QueueID><DataFlag>Y</DataFlag>\n"

+"<QueueDetail> <QueueName>DelhiEntry</QueueName>\n"

+"<Description>Queue for data entry of delhi forms</Description>\n"

+"<QueueType>S</ QueueType>\n"

+"</QueueDetail> \n"

+"</WMChangeQueueProperty_Input>";

 

Note

This data has to be changed in highlighted section of the Test Driver code for running WMChangeQueueProperty call.

View TestDriver Sample Code

 

 

WFGetExternalInterfaceList

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WFGetExternalInterfaceList_Input>"

+"<Option>WFGetExternalInterfaceList</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<ProcessDefinitionId>3</ProcessDefinitionId>\n"

+"</WFGetExternalInterfaceList_Input>";

 

 

Note

This data has to be changed in highlighted section of the Test Driver code for running WFGetExternalInterfaceList call.

View TestDriver Sample Code

 

WMConnect

str_inxml = "<? Xml Version=\"1.0\"? >\n"

                            +"<WMConnect_Input>\n"

                            +"<Option>WMConnect</Option>\n"

                            +"<EngineName>"+str_engine+"</EngineName>\n"

                            +"<Particpant>\n"

                            +"<Name>"+str_userName+"</Name>\n"

                            +"<Password>"+str_password+"</Password>\n"

                            +"<Scope>USER</Scope>\n"

                            +"<ParticipantType>U</ParticipantType>\n"

                            +"</Participant>\n"

                            +"</WMConnect_Input>";

 

Note

This data has to be changed in highlighted section of the Test Driver code for running WMConnect call.

View TestDriver Sample Code

 

 

WMDisconnect

str_inxml = "<? Xml Version=\"1.0\"?>"

+"<WMDisConnect_Input>"

+"<Option>WMDisConnect</Option>"

+"<EngineName>"+str_engine+"</EngineName>"

+"<SessionID>"+sessionId+"</SessionID>"

+"</WMDisConnect_Input>";

 

 

Note

This data has to be changed in highlighted section of the Test Driver code for running WMDisconnect call.

View TestDriver Sample Code

 

 

WMSetUserSession

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WMSetUserSession_Input>\n"

+"<Option>WMSetUserSession</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<Name>"+str_userName+"</Name>\n"

+"<Password>"+str_password+"</Password>\n"

+"</WMSetUserSession_Input>";

 

Note

This data has to be changed in highlighted section of the Test Driver code for running WMSetUserSession call.

View TestDriver Sample Code

 

 

WMFetchProcessDefinitions

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WMFetchProcessDefinitions_Input>\n"

+"<Option>WMFetchProcessDefinitions</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<CountFlag>y</CountFlag>\n"

+"<BatchInfo><NoOfRecordsToFetch>2</NoOfRecordsToFetch>\n"

+"<LastValue>0</LastValue></BatchInfo>\n"

+"</WMFetchProcessDefinitions_Input>";

 

Note

This data has to be changed in highlighted section of the Test Driver code for running WMFetchProcessDefinitions call.

View TestDriver Sample Code

 

 

WMGetUserList

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WMGetUserList_Input>\n"

+"<Option>WMGetUserList</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<DataFlag>N</DataFlag>\n"

+"<BatchInfo><NoOfRecordsToFetch>2</NoOfRecordsToFetch>\n"

+"</BatchInfo>\n"

+"</WMGetUserList_Input>";

 

Note

This data has to be changed in highlighted section of the Test Driver code for running WMGetUserList call.

View TestDriver Sample Code

 

 

WFGetUserProperty

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WFGetUserProperty_Input>\n"

+"<Option>WFGetUserProperty</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<UserId>1</UserId>\n"

+"<DataFlag>"+Y+"</DataFlag>\n"

+"</WFGetUserProperty_Input>";

 

Note

This data has to be changed in highlighted section of the Test Driver code for running WFGetUserProperty call.

View TestDriver Sample Code

 

 

WFSetUserWorkAudit

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WFSetUserWorkAudit _Input>\n"

+"<Option>WFSetUserWorkAudit</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<Operation>U</Operation>\n"

+"<UserList><UserInfo><UserId>2</UserId>\n"

+"<AuditorUserId>1</AuditorUserId>\n"

+"<PercentageAudit>80</PercentageAudit>\n"

+"<ProcessDefinitionId>3</ProcessDefinitionId>\n"

+"</UserInfo></UserList>\n"

+"</ WFSetUserWorkAudit _Input>";

 

Note

This data has to be changed in highlighted section of the Test Driver code for running WFSetUserWorkAudit call.

View TestDriver Sample Code

 

 

WFGetUserWorkAudit

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WFGetUserWorkAudit _Input>\n"

+"<Option>WFGetUserWorkAudit</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<UserId>1</UserId>\n"

+"</WFGetUserWorkAudit _Input>";

 

 

Note

This data has to be changed in highlighted section of the Test Driver code for running WFGetUserWorkAudit call.

View TestDriver Sample Code

 

WFSetDiversionforUser

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WFSetDiversionforUser_Input>\n"

+"<Option>WFSetDiversionforUser</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<UserId>3</UserId>\n"

+"<AssignedToUserId>4</AssignedToUserId>\n"

+"<From>2003 01 29</From><To>2003 01 30</To>\n"

+"<CurrentWorkitemsFlag>Y</CurrentWorkitemsFlag>\n"

+"<Operation>I</Operation>\n"

+"</ WFSetDiversionforUser_Input >";

 

 

Note

This data has to be changed in highlighted section of the Test Driver code for running  WFSetDiversionforUser call.

View TestDriver Sample Code

 

 

 

WFGetDiversionforUser

str_inxml ="<? Xml Version=\"1.0\"?>\n"

+"<WFGetDiversionforUser _Input>\n"

+"<Option>WFGetDiversionforUser</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<UserId>2</UserId>\n"

+"</ WFGetDiversionforUser _Input>";

 

 

Note

This data has to be changed in highlighted section of the Test Driver code for running  WFGetDiversionforUser call.

View TestDriver Sample Code

 

 

WFGetUserQueueDetails

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WFGetUserQueueDetails_Input>\n"

+"<Option>WFGetUserQueueDetails</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<UserId>2</UserId>\n"

+"<DataFlag>"+Y+"</DataFlag>\n"

+"</WFGetUserQueueDetails _Input>";

 

 

Note

This data has to be changed in highlighted section of the Test Driver code for running  WFGetUserQueueDetails call.

View TestDriver Sample Code

 

WMAddQueue

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WMAddQueue_Input>\n"

+"<Option>WMAddQueue</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<QueueName>BombayEntry</QueueName>\n"

+"<Description>Queue for data entry of bombay forms</Description>\n"

+"<QueueType>S</QueueType>\n"

+"</StreamInfo></StreamList>\n"

+"</WMAddQueue_Input>";

 

 

Note

This data has to be changed in highlighted section of the Test Driver code for running  WMAddQueue call.

View TestDriver Sample Code

 

 

WFDeleteQueue

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WFDeleteQueue_Input>\n"

+"<Option>WFDeleteQueue</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"  

+"<QueueList><QueueInfo><QueueId>56</QueueId>\n"

+"</QueueInfo></QueueList>\n"

+"</WFDeleteQueue_Input>";

 

Note

This data has to be changed in highlighted section of the Test Driver code for running  WFDeleteQueue call.

View TestDriver Sample Code

 

 

WMGetQueueList

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WMGetQueueList_Input>\n"

+"<Option>WMGetQueueList</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"  

+"<BatchInfo><LastValue>0</LastValue>\n"

+"<NoOfRecordsToFetch>4</NoOfRecordsToFetch>\n"

+"</BatchInfo>\n"

+"<DataFlag>N</DataFlag>\n"

+"</WMGetQueueList_Input>";

 

 

Note

This data has to be changed in highlighted section of the Test Driver code for running WMGetQueueList call.

View TestDriver Sample Code

 

WFGetQueueProperty

str_inxml = "<? Xml Version=\"1.0\"?>\n"

+"<WFGetQueueProperty_Input>\n"

+"<Option>WFGetQueueProperty</Option>\n"

+"<EngineName>"+str_engine+"</EngineName>\n"

+"<SessionID>"+sessionId+"</SessionID>\n"

+"<QueueID>12</QueueID><DataFlag>Y</DataFlag>\n"

+"</WMGetQueueProperty _Input>";

 

 

Note

This data has to be changed in highlighted section of the Test Driver code for running WMGetQueueProperty call.

View TestDriver Sample Code