Alibabacloud.com offers a wide variety of articles about nintex workflow sharepoint, easily find your nintex workflow sharepoint information here online.
Many friends have encountered the workflow "fail on startup" error when using Visual Studio to develop workflows, and I have shared with you the wrong way of doing this, hoping to help and hope that you can tell me a better way.
First set breakpoints in the onWorkflowActivated method to debug, check whether the breakpoint can be paused successfully, and if you can, check the logical code in the onworkflowactivated.
If you do not stop at the breakpoi
Problem:
When the worker oint 2010 list workflow is started, a "severe error occurred while processing the form" is displayed ".
Error message-1:Object doesn't support property or method 'addeventlistener'
Error message-2:There has been a critical error while processing the form.
Troubleshooting
1.Check in different machine to isolate the issue
2.Check in different browsers to make sure that browsers are not the culprit
3.Check the User Permissions
When you use spd2010 to update a workflow, you may save and publish, but when you go back to test your workflow, you will find that the old version is still used.
The solution is:
% SYSTEM drive %\ Users \ % USER % \ appdata \ Local \ Microsoft \ websitecache \
Delete the folder corresponding to your website, close SPD, open it again, and then publish the workflow
empty, "section" Control hides(2) Custom "Submit" and "Close" buttonsInsert a two button control, such asAdd a rule for the submit button as follows "Disable submit after commit" rule"Error message Prompt" rules, such as"Error message emptying" rule, such as"Submit Form" rules, such asAbout the settings for the data connection "master commit", such asFile name format is (author _ date _ Time)Test User _20120720_003011Concat (String (Iuser), "_", translate (translate (substring (now (), ":", "")
assigned for the first time. Otherwise, the task is reassigned.If (String. IsNullOrEmpty (e. TaskProperties. AssignedTo )){E. TaskProperties. AssignedTo = "helloworld/user1 ";E. TaskProperties. ExtendedProperties ["Comments"]= "Please input approve comments in here .";}Else{E. TaskProperties. ExtendedProperties ["Comments"] ="Task is reassigned to you ";}}
3) design the InfoPath form:
When the ReAssign check box is selected, the "Reassign this to" area on the right is displayed. The rules of
activity cannot be found.
Step 2)Process "sign approval"
Specify the completionmode for approval as requireall and executiontype as parallel.
Bind the taskoutcomes attribute of "sign for approval" to the workflow field:
Handle the initialized event of "sign for approval:
Private void will sign approval _ initialized (Object sender, eventargs E){This. will sign for approval. Users. Add ("DC \ user1 ");This. will sign for approval. Users.
Scenario 1: A workflow customized using SharePoint designer or a workflow provided by a template
You can use the eventhandler Extension Method to add the permission control statement to the itemadded eventhandler task list of the new task.
Only assign the permission of the current item to the task assign to object, or assign the read-only permission to other
Many friends who use kaneboy. spsworkflow always want documents to be copied across sites. That is to say, in a process action, documents can be copied from one site to another.
Today, I updated kaneboy. spsworkflow and added two new flow actions, cross-site copy and file deletion. (STRANGE: Why didn't these basic actions be added before ?), The accompanying DOC file is also updated.
You can download it from the SharePoint
SharePoint state machines with built-in default process logic
As we mentioned in the previous article, SharePoint's task encapsulation mechanism determines that there are two problems with its state machine application, one is to add one eventdrivenactivity for each approver, and the other is that the approval number must be determined during the design period.
Is there any way to solve these two problems? Thanks to WF's ability to dynamically modif
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.