What is the parent content type to your Photo Approval Task?
The parent is "Workflow Task" which is the same in production and the same in some other workflows in production, which are working fine.
The error is occurring in the JS file rte.js in Layouts/Nintexworkflow folder in 15 hive.
function setRTEValue(hiddenId, value, encodeHtmlChars) {
var modeSelector = getObjectOfRTE(hiddenId, 'ModeId');
var rteBody = getObjectOfRTE(hiddenId, 'RTEEditableRegionId');
var plainTextBody = getObjectOfRTE(hiddenId, 'PlainTextId');
var propArrayName = $get(hiddenId).getAttribute('WFPropArrayName');
var elementWithFocus;
//Set the global prop array to the unique array defined for this instance.
WFPropertyArray = eval(propArrayName);
RTE_isWorkflowVariableArrayLoaded = false;
try
{
elementWithFocus = document.activeElement;
}
catch(e)
{
}
setFocusToFirstElement();
if (modeSelector.selectedIndex == RTE_MODE_HTML) {
var htmlValue = RTE_translateToDesignerHtml(value);
$get(RTE.RteUtility.getAttribute(rteBody, 'InputFieldId')).value = htmlValue;
// overriding method in RTE.js which is clearing out our value
RTE.Canvas.restoreViewHtml = function RTE_Canvas$restoreViewHtml(editableRegion) {
var $v_0 = editableRegion.id;
var $v_1 = RTE.RteUtility.getAttribute(editableRegion, 'InputFieldId');
if ($v_1) {
var $v_3 = $get($v_1);
if ($v_3) {
var $v_4 = new RTE.Snapshot();
$v_4.$P_0 = editableRegion;
$v_4.$8P_0 = true;
$v_4.set_$8e_0($v_3.value);
$v_4.$E3_0(false);
}
}
};
Aug 2013 CU. The versions of Nintex and SharePoint are the same on my dev and prod environments. I will try to update and see if that helps.
The issue is occurring when the designer is reading the xml config data and trying to set the field's value with it, then fails. An update will probably not help you in this case. I would delete the action and recreate the action with the same configuration.
Hi Chit and Andrew,
I have upgraded Nintex workflow 2013 to the latest version and that fixed the issue. Thank you very much for your support.
Thanks
Kranthi
Awesome, thanks for the feedback!
Hi everyone,
I got the same issue but SP2013 August 2014 CU so not linked to that....
Any idea ? (no custom masterpage, JS or CSS)
The error shows on "some" actions mainly Send notification]
Can you verify that you are on the latest patch of Nintex?
Nintex Workflow 2013 (3.0.5.0) installed, will upgrade to 3.0.8 and let you know if fixes (Nintex Workflow 2013 - Release Notes )
FYI: Upgrading to Nintex 3.0.8 fixed the issue, the Send notification action shows its rich text editor without error.
thanks for the reminder.
Hi,
Can I know the threshold value of the number of users to which a To-Do task can be assigned.
Because, I have a workflow where I send notifications to around 950 users to complete a Survey.
The workflow executed for a small number of users but when I tried for 950 it created tasks for them, then it failed and then sent "Not Required" notifications to all of them. Then the status of the workflow was "Failed on Start (Retrying)".
Can anyone please help me in achieving this functionality.
Thanks in Advance.
Regards,
Shyam
There may not be an actual threshold to the task action, but some other setup or environmental issue to cause this.
Shyam Shinde, could you create a new post with this issue and we can try to help troubleshoot that there? Thanks,
The threshold would be SharePoint based not Nintex. The workflow will initiate a create new item in the task list and run through until it errors out because the database that holds the table will do a lock out after a certain number of items.
If possible, can you create a Survey list, add a page with the form on it, and send it to your users? You are in a way doing the same thing, but you are not automating the creation of 950 items at one time.
You can then email all 950 users a link to the list or a page. This gets you away from the problem you may be seeing in the first place with the task creation issues, but still gets your results of pushing the survey out to everyone who needs it via a link to their email.
Thanks Eric Harris for an alternate solution.
But, if I need to maintain the track of people who have responded to the Survey and who have not, then how can I achieve this functionality.
If the user has not taken the survey then I need to Remind him by sending a notification. In "Assign To-Do" task, we can put a Reminder which will remind the user if he has not taken the survey.
But, with the above approach you mentioned is to also possible to keep a track of Surveys taken by users.
Thanks in Advance.
Regards,
Shyam
You're asking for a lot from a workflow and list.
This is doable, but what I would encourage is that you try this on say 5 or 10 users. If your logic works for that number than feasibly it should work for any number within reason (throttling limits for processing).
To achieve what you are wanting take a look at these steps:
- Create a contacts list of users.
- The list should have user name, email, and responded.
- Your initial "Notify" workflow could be used as a Site workflow that would query the list, grab all emails in a collection, store those values into a variable and email them the link to the survey.
- As the users respond to the email, they will click the link and access the survey form.
- Put a workflow on the survey list that is kicked off when the new survey is created. The logic of this workflow should be to update the item > select the contacts list > and filter for the item that has a match of intiator or some key field from the survey that is a match in their contact. Recommendation would be to have them use their name or an ID# which could be stored in the contact list and is unique to each person. This would give you an ID to match on by having them type that in with their response and you could set one and email it as part of the initial email.
- The next thing you would do is create a second site workflow that is scheduled to run once a week. It runs against the contacts list and should use the query list action to query the list and filter for all items where the responded field is empty. Store the emails or names into a collection and store that into a variable. Then send a notification email to all users captured in the collection with the reminder link to the survey list.
I've done this before, but not for a survey. The logic should work well if tied together correctly. Hope that helps...