+1
Completed

My Tasks not working properly when a first log into adam

Nathan Milliren 6 years ago in Workflow updated by petra.tant 3 years ago 2

Have the my tasks widget from the central screen handle the error gracefully if the user is not set up in agilepoint yet.  The user should get a descriptive message in the widget till the user has been sync'd on the backend to the agilepoint server.

 

from ticket

Using windows authentication and the user account is created in the system when the user first logs into the system. I get an error because the adam system has not sync the user with agile point. Is there a way to not have the widget connect to agilepoint if they have not been sync to agilepoint? or should there be a rule to automatically sync to to agilepoint when adam automatically creates the account.

I have shown the widgets shown in central.

<widgets priority="100" tileWidth="120" tileHeight="147" gutterWidth="55" gutterHeight="40">
<add name="RegisteredStudiosWidget" type="Adam.Web.Studio.Providers.Widgets.RegisteredStudiosWidget, Adam.Web.Studio" size="2, 2" location="0, 0" />
<add name="MyTasks" type="Adam.Workflow.Web.Widgets.WorkflowTaskWidget, Adam.Workflow.Web" location="2, 0" size="4, 4" onlyMyTasks="true" showCreatedOn="true" searchExpression="Status = 'Running' or Status = 'Assigned' or Status = 'New' or Status='Waiting' or Status='Overdue''" sortOrder="DueOn desc" />
<add name="LatestRecords" type="Adam.Web.Studio.Providers.Widgets.RecordsWidget, Adam.Web.Studio" location="0, 2" size="8,8" MaxItems="10" SearchExpression="filecount &gt;= 1" SortOrder="createdon desc" />
</widgets>

I get the following error:

Exception: Adam.Workflow.Service.Client.ServiceClientException: Error occurred during workflow client execution of operation GetWorkflowTasks, with message: User could not authenticate with AgilePoint.. Exception type AuthenticationException was thrown ---> System.ServiceModel.FaultException`1[Adam.Workflow.Service.Contracts.Workflow.Fault.WorkflowFault]: Error occurred in Workflow Service, see inner WorkflowFault detail for further information (msg:User could not authenticate with AgilePoint.)

Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Adam.Workflow.Service.Contracts.Workflow.Service.IWorkflowService.GetWorkflowTasks(String providerName, PageRequest pageRequest, WorkflowTaskLoadOptions loadOptions)
at Adam.Workflow.Service.Client.WorkflowServiceClient.a[a](Func`1 A_0)
--- End of inner exception stack trace ---
at Adam.Workflow.Service.Client.WorkflowServiceClient.a[a](Func`1 A_0)
at Adam.Workflow.Core.Client.WorkflowTaskCollection.OnLoad(String providerName, SearchExpression expression, String sortOrder, Int32 pageNumber, Int32 recordsPerPage, Boolean& isLastPage, Int32 maxRecords, Boolean includeTotalRowCount)
at Adam.Workflow.Web.Extensibility.WorkflowTaskSearchPluginProvider.ExecuteSearch(PluginContext context, SearchExpression expression, PagingInfo pagingInfo, IEnumerable`1 properties, String sort, Boolean& isLastPage)
at Adam.Web.Extensions.Extensibility.SearchPluginProviderBase`1.Adam.Web.Extensions.Extensibility.ISearchPluginProvider<TSource>.ExecuteSearch(PluginContext context, SearchExpression expression, PagingInfo pagingInfo, String sort, IEnumerable`1 properties, Boolean& isLastPage)
at Adam.Web.Extensions.Extensibility.c.a(PluginContext A_0, SearchExpression A_1, PagingInfo A_2, String A_3, IEnumerable`1 A_4)
at Adam.Web.Extensions.Extensibility.SearchPlugin.Execute(PluginContext context)
at Adam.Web.Extensions.Extensibility.Plugin.a(HttpContext A_0)
Adam.Tools.IsSensitive: True
Adam.Tools.CreatedOn: 7/8/2014 2:05:07 PM
Adam.Tools.HandlingInstanceId: ec5fdd75-d0f8-445b-b236-6dcb1a2ff413
Adam.Tools.AppDomainName: /LM/W3SVC/1/ROOT/Workflow-3-130492190717092500
Adam.Tools.MachineName: DKHM2125
Adam.Tools.WindowsIdentity: CORPORATE\srv-dsgADAMnonprod
Adam.Web.Request.Url: /Workflow/Search.plugin?p=Tasks&q=((AssignedTo%20%3D%20%27CORPORATE%5Cdev-dks0240036%27))%20and%20(Status%20%3D%20%27Running%27%20or%20Status%20%3D%20%27Assigned%27%20or%20Status%20%3D%20%27New%27%20or%20Status%20%3D%20%27Waiting%27%20or%20Status%20%3D%20%27Overdue%27%27%27)&s=title%2Ccreatedon%2Cid&ps=5&so=DueOn%20desc&.v=4f5f96d510044956a503a4ae2466f66c&.p=1404828305663
Adam.Web.Request.Path: /Workflow/Search.plugin
Adam.Web.Request.UserHostAddress: 10.224.24.8
Adam.Web.User.IsAuthenticated: True
Adam.Web.User.AuthenticatedType:
Adam.Web.User.Name: CORPORATE\dev-dks0240036
Adam.Web.Application.Path: c:\ADAM\Studios\Workflow\
Adam.Web.Application.VirtualPath: /Workflow
Adam.Web.Application.TrustLevel: Full 

widgets

This has been corrected with workflow 2.0.3