An Activity with a client event should at least have one destination
2016-11-04 16:00
4765 查看
遇到K2 SERVER MANAGER平台错误报障:An Activity with a client event should at least have one destination
解决办法如下:
if(K2.ProcessInstance.ID.ToString()=="471247")
{
K2.Destinations.Add(DestinationType.Queue,'TmpDestinationQueue');
}
else
{
//原代码块
}
参考资料如下:
An exception occurs when trying to resolve an Active Directory Group to users in K2.net™ Studio, or “An Activity with a client event should at least have one destination” error is shown in the K2.net™ 2003 Service Manager
This article highlights a known issue when resolving User names from Active Directory if special characters are contained in the username or the user’s group or organizational unit. This issue may be experienced as an “Unknown Error” in K2.net™ 2003 Studio,
or an “An Activity with a client event should at least have one destination” error in K2.net™ 2003 Server.
来源:http://help.k2.com/kb000093
解决办法如下:
if(K2.ProcessInstance.ID.ToString()=="471247")
{
K2.Destinations.Add(DestinationType.Queue,'TmpDestinationQueue');
}
else
{
//原代码块
}
参考资料如下:
An exception occurs when trying to resolve an Active Directory Group to users in K2.net™ Studio, or “An Activity with a client event should at least have one destination” error is shown in the K2.net™ 2003 Service Manager
This article highlights a known issue when resolving User names from Active Directory if special characters are contained in the username or the user’s group or organizational unit. This issue may be experienced as an “Unknown Error” in K2.net™ 2003 Studio,
or an “An Activity with a client event should at least have one destination” error in K2.net™ 2003 Server.
Issue: There is a known issue with regards to Active Directory user names, organizational units or groups which contain special characters. The issue will present itself in the following ways: | ||
1) | In K2.net® 2003 Studio, you may see an "Unknown Error" error when you right-click the Active Directory Group in the destination queue, and select "Resolve to Users": | |
| ||
| ||
2) | You may see an error in K2.net® 2003 Service Manager's Error Profiles that states: "An Activity with a client event should at least have one destination" | |
| ||
In these cases a username, Organizational Unit or Group Name in the Active Directory structure may contain special characters. These characters are not handled properly by the .NET Framework classes that query Active Directory,, therefore an exception is thrown. This will result in the error in K2 Studio, or a Destination Queue being empty on the K2.net® 2003 Server. | ||
Resolution: | ||
1) | This issue has been addressed in K2.net 2003 with SP 2. To resolve the issue, update your current K2.net 2003 installation with Service Pack 2 or with the most current service pack release.. | |
2) | Remove the special characters from the Active Directory entries where required and use the K2.net® Service Manager to refresh the destination queue: | |
| ||
Once you have implemented one of the options discussed above you can then proceed to repair the error as described below. | ||
To Repair the error: Use the "Repair Error" option in the K2.net Service Manager's Error Profiles to repair the "An Activity with a client event should at least have one destination" error: | ||
| ||
K2.net 2003 Service Pack 2 has been tested with the following special characters and supports their use: | ||
相关文章推荐
- Entities exposed by DomainService operations must have at least one public property marked with the
- Entities exposed by DomainService operations must have at least one public property marked with the KeyAttribute
- Xcode添加账号提示Please sign in with an app-specific password. You can create one at appleid.
- java.util.zip.ZipException:ZIP file must have at least one entry
- java.util.zip.ZipException:ZIP file must have at least one entry
- Error: At least one module has an unresolved import due to a missing export function in an implicitl
- java.util.zip.ZipException: ZIP file must have at least one entry
- iOS- Please sign in with an app-specific password. You can create one at applied.apple.com.
- No valid Oracle clients found. You need at least one 64-bit client properly configured.
- I have an appointment with Mr. Brown at 10'oclock.
- returns a number of second with no user activity (called in an OnTimer event of a TTimer component).
- 错误:error C2153:hex constants must have at least one hex digit
- Error: No valid Oracle clients found. You need at least one 64-bit client properly configured.
- Topology activation failed. Each partition must have at least one index component from the previous topology in the new topology, in the same host.
- leetcode :Find the contiguous subarray within an array (containing at least one number) which has th
- At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger fo
- [Android] An internal error occurred during: "Launching New_configuration". Path for project must have only one segment.
- 使用mxnet时遇到的问题Operator _zeros cannot be run; requires at least one of FCompute<xpu>......
- Sort an array alphabetically in Ruby but with capitalised words at the end
- android Select at least one project