How Can We Help?
A report which shows a list of jobs that has a link that takes the user to an activityA specific step in a process. It will be the user interface for that step (web form or a screen), for example, the Leave Application (screen interface or web form) will be the first Activity in the Leave Requisition process. The Leave Application Authorization will be the second step or Activity in the Leave Requisition process. One Process can have multiple activities. that can action the job. When in mobile we need to specify the mobile link and when in the XMWorkspace we need to specify the workspace link as they are both different.
There is a simple way to determine whether the activity is being accesses via XMWorkspace or via the API (which is what XMMobile does).
if(System.Web.HttpContext.Current == null)
{
//No HttpContext found, you are accessing this from XMMobile
}
else
{
//HttpContext found, you are accessing this from XMWorkspace
}
Comments are closed.