URL in Workflow
Hi All,
When sending a mail to outlook through workflow,i need to give a url, so that the user clicks the link & proceeds further.
In editor screen, when i give a link starting with http://www.xyz.com , it appears as a link in outlook.
But when i give the link as :
<html>
<a href = "www.xyz.com">Click Here
</a>
</html>
Click Here appears as a hyperlink in SAP Inbox, but in outlook it appears as plain text.
In SCOT the settings are already configured.
Is there any other way or some settings??
Vidya in my earlier post i told you to write simple Anchor Tagtag even i also passed a link to outlook from my workflow
or the second options is simply write the link in the mail i mean for e;g
Re: Send long link from workflow
and when this link goes to outlook it appears as link if you want some text instead of the link then you have to use simple <a href> tag.
Similar Messages
-
Hi,
I have a webdynpro application portal iview. when i preview that application iview it i get an url. i want to bring that url in workflow screen. please suggest any function modules to get the iview.
My scenario is manager has to approve or reject a request after clicking on the url in the workflow. so kindly tell me a way to get the url from portal and bring it in workflow. Thanks in advance.
Cheers,
Bharath
Edited by: bharath padmanabhan on Jan 3, 2009 1:54 PMHi Bharath,
> I want to get a url in the objects and attachements part of the mail. I am not able to find a way to attach a url in that part of the mail.
This issue has been already discussed earlier. Can you please check the FORUM for the same, since I feel that it is not even a week that this issue was discussed.
You can create a Container Element and Fetch the data of the URL into that. Do the Binding of that WF Container Element with the Objects and Attachments in Mail.
That might work for you, as I think you should be aware where to fetch this URL from (DB Table)..
Hope it Helps..!!
Regards,
Kanika -
Hyperlink/URL in workflow notification
Hi,
I am modifying the Sales Order workflow. The requirement is that a link/url should be provided in the message that should allow user to open sales order directly from the message.
Please advise on how can we have this functionality through workflow message. I am on 11.5.10
when I use http://url:3333/OA.jsp?OAFunc=ONT_OEXOEORD&HEADER_ID=786697
in a browser, I could open the sales order form but the order number is not queried which I want to happen automatically.
Thanks in advance for all the help and effort.
sdv
Message was edited by:
user613391Do you know of any standard functionality that opens the Sales Order form and automatically queries a Sales Order? If not, then the form may not provide that functionality. If there is, then you will need to work through the logic in the form to work out how to call the function to query the order.
-
Get Reporting Services URL in workflow
I've created a worfklow that creates an email, uses a custom workflow activity to address the email and uses the ReportExecutionService to create a PDF which gets attached to the email. I've currently hard-coded the URL to the reporting server and want to
make it dynamic. I looked at using the DeploymentServiceClient but that requires a reference to the assembly Microsoft.Xrm.Sdk.Deployment.dll
which I can't use because my plugin will be in sandbox mode and if my understanding is correct, you can't reference external assemblies in sandbox mode.
Besides using ILMerge to merge in
Microsoft.Xrm.Sdk.Deployment.dll or a custom entity to store the data, is there a way to get the reporting server URL in my workflow?Hello,
I suggest you to create custom entity (for example Settings) and add field Reporting Services Url inside. Inside your custom workflow activity you can read settings entity and use Url. It would be definitely easier.
Dynamics CRM MVP
My blog -
Hello,
I have a requirement of putting a URL link in one of the seeded oracle WF notification. I have completed all the required steps i.e. creating a attribute of type URL, attaching the attribute to the message, passing the URL to the URL attribute etc. All works fine i.e. I get the notification with the URL link. The only issue I am facing is that the apps server details precedes with URL.
Fo example: I am passing the URL www.google.com and want to see that the notification should have this link. When the user clicks on the URL link a new window should open with the URL www.google.com. Instead what us happening is the new window is opening with the following URL:
http://<APPS_SERVER_NAME>:8000/pls/OASUP/www.google.com which results in the page cannot be displayed error.
I appreciate if anyone out there could let me know on how to bypass the Server details with the www.google.com.
Rgs
MGInstead of just putting www.google.com, put http://www.google.com (add http:// before the address). Then it will not prefix the server name.
-
Workflow manager url for OWB 9.2
Hi,
I know the URL for work flow manager for 2.6.3 installed in unix.
That is http://<ip>:<port>/WFMGRWebApp/uix/oam/wfm/wfmLogin
Now,..I installed 2.6.2 in Windows with OWB 9.2.
Could anyone plz tell, what's the URL for workflow manager?
Any help would be appreciated.
Thanks in advance.
Thank you,
Regards,
Gowtham Sen.You need to create DAD(Data Acess Descriptor) for your workflow manager and use the link below
http://server_name:port/pls/workflowdad/wfa_html.home
workflowdad - name of your data access descriptor
if you need assistance in creating DAD please let me know.... -
Need to pass user_id and password in URL item attribute of workflow
Hi Gurus,
I am facing an issue in creating an URL in workflow builder.
Basically i have created an URL Item type attribute with value
../../OA_HTML/jtfTaskMain.jsp?jttst0=2414_23135%2C23135%2C-1%2C0%2C&jttmexjtfm0=_0_0_1_0_f_nv_&jttmexetfm1=_0_-1_&jfn=ZG700F3B7360316A8A7557B082337FBD0423D2AA232DEA5407CEA2D4D6508E6A04693B0E4B1E1EA9069F1DFFC5EA0DB3ABED&jtfm0=_0_0_1_1_f_nv_&etfm1=_1_-1_&oas=6B1ntRszm8xl-UOPcBYwww..&task_id=10505&PID=&PNAME=&PTYPE=
in workflow and above highlighted values are the dynamic paramers to open the standard JSP page. The above link works because it is user specific. Please let me know how to pass these dynamic parametsr like user_id, password, OAS,task_id to the URL?
Thanks in advance,
Veerendra
Message was edited by:
user621894Hi,
You'll need to determine the values and populate the URL in a PL/SQL activity earlier in the process.
HTH,
Matt
WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
Have you read the blog at http://thoughts.workflowfaq.com ?
WorkflowFAQ support forum: http://forum.workflowfaq.com -
Extra backslashes added in email url
Hi,
In a workflow, when I add a URL as an email link like this:
=4&ListId={986A5417-719C-4003-A6CA-1004BFC272DB}&ID
I get this when I save, or change the font of the link text:
=4&ListId=\{986A5417-719C-4003-A6CA-1004BFC272DB\}&ID
then this:
=4&ListId=\\{986A5417-719C-4003-A6CA-1004BFC272DB\\}&ID
then this:
=4&ListId=\\\{986A5417-719C-4003-A6CA-1004BFC272DB\\\}&ID
then this:
=4&ListId=\\\\{986A5417-719C-4003-A6CA-1004BFC272DB\\\\}&ID
and so on.
These extra backslashes just 'appear' and the email link fails.
It's a bit quantum, the backslashes only appear when I view the link string, but I can imagine they are there, even when I can't see them.
Any suggestions?
Thanks,
Ian MIHi Rebecca and Hemendra,
The solution proposed works just fine, except my email workflow was once removed from the main list because I had to use another list to format a group field to make it work for the email send. I retrieved the original list item URL
using workflow context as suggested, and passed this along as a string via a separate list, then used the string as the link, and this worked. SP no longer gets confused and thinks it has to add a back slash as an escape character to partner curly
brackets every time I open the link in designer, because they have been eliminated.
So I am a very happy person.
Thanks to both of you for reviewing my issue. -
Log History 2013 see all stages of workflow in one place.
In sharepoint 2013, I have setup a workflow using sharepoint designer 2013 to create 5 steps stages in a workflow. In each stage, I have used a log to history action to keep track of what stages the workflow got to.
I know how to find the log history for all events on the sharepoint 2013 server. However, I would like to be able to see a display for the 5 stages of the workflow in one place. Thus can you tell me how to accomplish my request?When you say you know how to find the "log history for all events" I assume you are talking about the ULS logs. That's not where the workflow will log the history that you are looking for. Instead SharePoint logs history to a hidden
history list in the site where the workflow is kicked off. By default it is called "Workflow history" and you can view it by manually navigating to the following URL http://[site
URL]/lists/Workflow%20History.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem. -
Hi,
The problem am facing is as follows -
I have a URL derived from a login in my WF container. I am sending this URL through the mail.
The WF container shows the complete URL in Workflow log. But the mail shows incomplete URL.
Any idea..whats wrong?
Thanks,
AjayHi Ajay,
The variable you pass from the workflow container to the email text may possibly be too long? But this question does require more details I think to be answerable.
Regards,
Philipp -
Hello All , Request your help on the below issue ,
We have a single server farm SP 2013 where workflow was working as expected but its broken now , Not sure
what caused this. Workflow manager is installed alongside Service Bus. Workflow Manager client is installed on the same SP server.
We are able to create and publish the workflows from SP Designer without errors but when we start the workflow from SharePoint list we get an error " Sorry something went wrong". We have tried creating new workflows but the same problem.
We receive the below error in event viewer.
Error processing management request. Method: PUT, RequestUri: http://server URL:12291/$Workflows/89c767d2-82d2-4bd9-8e5e-dcace81d844f, Error: System.ArgumentException: The remote server returned an error: (400) Bad Request. ---> System.Net.WebException:
The remote server returned an error: (400) Bad Request.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at Microsoft.ServiceBus.Messaging.ServiceBusResourceOperations.GetAsyncResult`1.EndGetResponse(GetAsyncResult`1 thisPtr, IAsyncResult ar)
at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
--- End of inner exception stack trace ---
Server stack trace:
Exception rethrown at [0]:
at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.Workflow.Gateway.HttpAsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.Workflow.Gateway.WorkflowServiceGateway.<>c__DisplayClass6a.<EndCreateOrUpdateWorkflow>b__69()
at Microsoft.Workflow.Gateway.WorkflowServiceGateway.ExceptionFilter[T](Func`1 body)
at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
ULS logs give below error
Error 1 - Microsoft.Workflow.Client.InternalServerException: An internal error occured. For more details, please see the server logs. HTTP headers received from the server - ActivityId: ba6e77cb-aaae-41a0-9cc8-1ea817d0045e. NodeId: Servername.
Scope: /SharePoint/default/bc694777-7bbb-473e-ab2d-20087221a97a/5229793b-31a1-44b1-9b0b-374f38b762fd. Client ActivityId : a6daec9c-7139-7034-b4ee-edeb1f96ec2a. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result)
at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) -
-- End of inner exception stack trace ---
at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)
at Microsoft.Workflow.Client.WorkflowManagementClient.SendRequest[T](HttpWebRequest request, T content)
at Microsoft.Workflow.Client.WorkflowManager.Publish(WorkflowDescription description, Boolean terminateActiveInstances)
at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.PublishWorkflow(String serviceGroupName, WorkflowDescription workflow)
at Microsoft.SharePoint.WorkflowServices.WorkflowProxy.CreateDefinitionSubscription(String subscriptionName, String eventSource, List`1 eventTypes, String definitionName, IDictionary`2 metadata, WorkflowEventContext eventContext) StackTrace:
at Microsoft.Office.Server.Native.dll: (sig=35339f9c-8871-4ef1-9118-9c1bd0cb6598|2|microsoft.office.server.native.pdb, offset=131CE)
at Microsoft.Office.Server.Native.dll: (offset=21B4D)
Error 2 - Error publishing workflow subscription (republish or retry publish) information: Microsoft.Workflow.Client.InternalServerException: An internal error occured. For more details, please see the server logs. HTTP headers received
from the server - ActivityId: ba6e77cb-aaae-41a0-9cc8-1ea817d0045e. NodeId:
ServerName. Scope: /SharePoint/default/bc694777-7bbb-473e-ab2d-20087221a97a/5229793b-31a1-44b1-9b0b-374f38b762fd. Client ActivityId : a6daec9c-7139-7034-b4ee-edeb1f96ec2a. ---> System.Net.WebException: The remote server returned an error: (500)
Internal Server Error.
at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result)
at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) -
-- End of inner exception stack trace ---
at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)
at Microsoft.Workflow.Client.WorkflowManagementClient.SendRequest[T](HttpWebRequest request, T content)
at Microsoft.Workflow.Client.WorkflowManager.Publish(WorkflowDescription description, Boolean terminateActiveInstances)
at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.PublishWorkflow(String serviceGroupName, WorkflowDescription workflow)
at Microsoft.SharePoint.WorkflowServices.WorkflowProxy.CreateDefinitionSubscription(String subscriptionName, String eventSource, List`1 eventTypes, String definitionName, IDictionary`2 metadata, WorkflowEventContext eventContext)
at Microsoft.SharePoint.WorkflowServices.FabricSubscriptionService.<>c__DisplayClass1.<CreateDefinitionSubscription>b__0()
at Microsoft.SharePoint.WorkflowServices.WorkflowServiceContextExtensions.InvokeWithEcosystemRetry(WorkflowServicesContext context, EcosystemRequiredMethod method)
at Microsoft.SharePoint.WorkflowServices.FabricSubscriptionService.CreateDefinitionSubscription(String subscriptionName, Guid eventSourceId, String eventSource, List`1 eventNames, String definitionName, IDictionary`2 metadata, WorkflowEventContext eventContext)
at Microsoft.SharePoint.WorkflowServices.WorkflowSubscriptionStorageEventReceiver.ItemUpdating(SPItemEventProperties properties)
Error3 - Microsoft.Workflow.Client.InternalServerException: An internal error occured. For more details, please see the server logs. HTTP headers received from the server - ActivityId: ba6e77cb-aaae-41a0-9cc8-1ea817d0045e. NodeId: ServerName.
Scope: /SharePoint/default/bc694777-7bbb-473e-ab2d-20087221a97a/5229793b-31a1-44b1-9b0b-374f38b762fd. Client ActivityId : a6daec9c-7139-7034-b4ee-edeb1f96ec2a. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at SPRequest.AddOrUpdateItem: UserPrincipalName=i:0).w|s-1-5-21-182846760-3036401646-508972453-351846, AppPrincipalName= ,bstrUrl=http://sharepointsite ,bstrListName={48A21758-9123-48F0-9BDE-9EB632B07BC6} ,bAdd=False ,bSystemUpdate=False ,bPreserveItemVersion=False
,bPreserveItemUIVersion=False ,bUpdateNoVersion=False ,pbstrNewDocId=00000000-0000-0000-0000-000000000000 ,bHasNewDocId=False ,bstrVersion=16 ,bCheckOut=False ,bCheckin=False ,bUnRestrictedUpdateInProgress=True ,bMigration=False ,bPublish=False ,bstrFileName=<null>
Any help appreciated. Thanks in advance.Hi,
As I understand, you encountered the issue when you published a workflow on SharePoint 2013 workflow platform.
I wonder does it work well before when using 2013 workflow platform? If it works before, did you install any updates or change the configuration to the workflow related settings?
If this is the first time after you installed workflow manager 2013, then I’d recommend you try re-registering workflow service per the link below and post the result:
http://technet.microsoft.com/en-us/library/jj663115(v=office.15).aspx
http://technet.microsoft.com/en-us/library/jj658588(v=office.15).aspx
From the message you accessed workflow host uri, please make sure the account to wfsetup and wfservice account are both in wfadmins group.
http://blogs.msdn.com/b/briangre/archive/2013/02/20/least-privilege-configuration-for-windows-azure-workflow-with-sharepoint-2013.aspx
Regards,
Rebecca Tu
TechNet Community Support -
Stage:Caller Information
Set Variable: Prefix to DUR_C
Set Variable: SPID to Current Item:ID
Update item in Current Item
Log New Complaint to the workflow history list
Email Email address
Log Contact Client to the workflow history list
Transition to stage
Go to Contact Client
Stage:Contact Client
Wait for Event: When an item is changed (Output to Variable: related item8 )
Step: Email for Site Visit
If Current Item:Duraco_Status equals Site Visit Planned
Email Email address
Log Site Visit to the workflow history list
Step: Email for To Be Replaced
If Current Item:Duraco_Status equals To be Replaced
Email Email address
Log Product Recuperation to the workflow history list
Step: Email for To be Repaired At Factory
If Current Item:Duraco_Status equals To be Repaired at Factory
Email Email address
Log Product Recuperation to the workflow history list
Step: Email for Product Brought at Factory
If Current Item:Duraco_Status equals Product Brought at Factory
Email Email address
Log Factory Repair to the workflow history list
Transition to stage
If Current Item:Duraco_Status equals Site Visit Planned
Go to Site Visit
Else
If Current Item:Duraco_Status equals To be Replaced
or Current Item:Duraco_Status equals To be Repaired at Factory
Go to Product Recuperation
Else
If Current Item:Duraco_Status equals Product Brought at Factory
Go to Factory Repair
Else
If Current Item:Duraco_Status equals Resolved
Go to Resolved
Else
Go to Contact Client
Stage:Site Visit
Wait for Event: When an item is changed (Output to Variable: related item1 )
Step: Email To Be Repaired On Site
If Current Item:Duraco_Status equals To be Repaired on Site
Email Email address
Log Site Repair to the workflow history list
Step: Email To Be Replaced
If Current Item:Duraco_Status equals To be Replaced
Email Email address
Log Product Recuperation to the workflow history list
Step: Email To be Repaired at Factory
If Current Item:Duraco_Status equals To be Repaired at Factory
Email Email address
Log Product Recuperation to the workflow history list
Transition to stage
If Current Item:Duraco_Status equals To be Repaired on Site
Go to Site Repair
Else
If Current Item:Duraco_Status equals To be Replaced
or Current Item:Duraco_Status equals To be Repaired at Factory
Go to Product Recuperation
Else
If Current Item:Duraco_Status equals Resolved
Go to Resolved
Else
Go to Site Visit
Stage:Site Repair
Wait for Event: When an item is changed (Output to Variable: related item2 )
Step: Email To be Replaced
If Current Item:Duraco_Status equals To be Replaced
Email Email address
Log Product Recuperation to the workflow history list
Step: To be Repaired at Factory
If Current Item:Duraco_Status equals To be Repaired at Factory
Email Email address
Log Product Recuperation to the workflow history list
Transition to stage
If Current Item:Duraco_Status equals To be Replaced
or Current Item:Duraco_Status equals To be Repaired at Factory
Go to Product Recuperation
Else
If Current Item:Duraco_Status equals Resolved
Go to Resolved
Else
Go to Site Repair
Stage:Product Recuperation
Wait for Event: When an item is changed (Output to Variable: related item6 )
Step: Email Store
If Current Item:Duraco_Status equals Go to Store
Email Email address
Log Go to Store to the workflow history list
Transition to stage
If Current Item:Duraco_Status equals Go to Store
Go to Store
Else
Go to Product Recuperation
Stage:Store
Wait for Event: When an item is changed (Output to Variable: related item10 )
Step: Email to be repaired at factory
If Current Item:Duraco_Status equals To be Repaired at Factory
Email Email address
Log Factory Repair to the workflow history list
Step: Email To be replaced
If Current Item:Duraco_Status equals To be Replaced
Email Email address
Log Delivery to the workflow history list
Transition to stage
If Current Item:Duraco_Status equals To be Repaired at Factory
Go to Factory Repair
Else
If Current Item:Duraco_Status equals To be Replaced
Go to Delivery
Else
If Current Item:Duraco_Status equals Resolved
Go to Resolved
Else
Go to Store
Stage:Factory Repair
Wait for Event: When an item is changed (Output to Variable: related item7 )
Step: Email Ready for Delivery
If Current Item:Duraco_Status equals Ready for Delivery
Email Email address
Log Delivery to the workflow history list
Transition to stage
If Current Item:Duraco_Status equals Ready for Delivery
Go to Delivery
Else
Go to Factory Repair
Stage:Delivery
Wait for Event: When an item is changed (Output to Variable: related item9 )
Transition to stage
If Current Item:Duraco_Status equals Resolved
Go to Resolved
Else
Go to Delivery
Stage:Resolved
Log Resolved to the workflow history list
Transition to stage
Go to End of WorkflowHello,
I faced the same issue while working with SharePoint On-line 2013. The possible reasons could be:-
1) Please remove logging/logs from your workflow business logic. Means, don't use "Log to History list" action as it hampers the performance of workflows.
2) Please check "Workflow History" list. It's is a hidden list (https://<tenant-URL>/lists/workflow history). Check whether it has exceeded the threshold limit (may be 5000 items). If yes, then first try to clear/empty the Workflows
History list using some console application or by creating different views and manually deleting the list items.
Please remember "Workflow Timer Job" will not work, as it only deletes the workflow associations and not the actual list items.
=======================================================
Please mark as answer, if it helps !!! -
I'm trying to use "javascript:SP.UI.ModalDialog.showModalDialog" with a workflow initiation page. I can get it to start but the "Cancel" Button doesn't work. Can anyone give me a clue?
javascript:SP.UI.ModalDialog.showModalDialog({url:"{SiteUrl}/Workflows/Assign%20Corrective%20Action/Assign%20Corrective%20Action.aspx?List={ListId}&ID={ItemId}&Source={Source}",title:"Custom Form"});return false;
David JenkinsHi David,
To reproduce this issue, Could you give me your detailed process and code?
In addition, for the 'Cancel' and 'Start' buttons, if you want to reture to the original page after clicking, you can open the custom workflow and create a rule and add a 'Close the form' action for the two button.
Here is an article about starting a workflow with a initiated parameters through JavaScript, please take a look at:
http://www.sharepointblogs.be/blogs/timmy/archive/2011/09/15/starting-a-workflow-with-a-initiated-parameters-through-javascript.aspx
I hope this helps.
Thanks,
Wendy
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Wendy Li
TechNet Community Support -
Using powershell to start a 2013 site workflow
In our 2013 environment we are trying to trigger a site workflow using a powershell script. I've seen several examples on how to do this with workflows associated to lists, but none for site workflows. If someone could assist me with this that would be much
appreciated.It didn't seem to work. I changed the site URL and workflow param's and got the following error. Also, I am running the script on the WFE server with an account that is a site collection admin.
Add-PSSnapin : A positional parameter cannot be found that accepts argument '[System.Reflection.Assembly]::LoadWithPartialName'.
At C:\Users\ps123456\Desktop\email.ps1:7 char:1
+ Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue [Syst ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Add-PSSnapin], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.AddPSSnapinCommand
Get-SPSite : The term 'Get-SPSite' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try again.
At C:\Users\ps123456\Desktop\email.ps1:10 char:9
+ $site = Get-SPSite $Url
+ ~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Get-SPSite:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
You cannot call a method on a null-valued expression.
At C:\Users\ps123456\Desktop\email.ps1:12 char:1
+ $wfAssociation = $site.RootWeb.WorkflowAssociations.GetAssociationByName($Workfl ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
C:\Users\ps123456\Desktop\email.ps1 : Workflow association not found on target web site.
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,email.ps1 -
Dynamic string in designer workflow.
Hi,
I have creted form library A and one sharepoint list B with email id, name and company name details.
I want to develop a workflow to send an email to users who are in List B with a link.
Before sending an email to user, workflow should verify that if there is any item in "Library A" with the name(company name+User name from List B values) or not.
If there is an item in Library A, then the workflow should send existing item link to that particular user to update the item if not it should send a link to create new report in Library A and the workflow should send emails every week until the
item's status changes to "Completed".
Here my question is, how to create dynamic links in designer.Is it accomplishable using sharepoint designer? Client does want custom coding solutions.
ANy help would be appreciated.
Thank you.
AA.Hi
Firstly few things to consider -
SharePoint workflow are assigned to single item based on create or on modified events of list items
iterating through list library is not supported by OOTB
Even if we manage to iterate through list items, it would cause issues when there are too many items in the list
For creating links you can use workflow variables in SharePoint designer, we normally use current item url from workflow context -
http://office.microsoft.com/en-us/sharepoint-designer-help/send-e-mail-in-a-workflow-HA010239042.aspx
some reference for Looping to start with -
http://sharepointgypsy.blogspot.com/2011/11/create-for-each-loop-for-workflows.html
http://brianscodingexamples.wordpress.com/2013/05/09/create-while-loop-within-workflow-in-sharepoint-designer-2010/
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/a9c6ab96-3b7f-428e-be5d-c2323e95cfe4/loop-through-sharepoint-list-having-more-than-100-items-using-ootb-sharepoint-desinger-2010-workflow
Hope this helps!
Ram - SharePoint Architect
Blog - SharePointDeveloper.in
Please vote or mark your question answered, if my reply helps you
Maybe you are looking for
-
How do we have 2 Apple ID on one iMac
2 of us us one iMac How do we set up 2 iCloud accts
-
Do I have to pay for the 3.1.3 update again if I restore my iPod touch?
I just recently purchased with an iTunes gift card the iPhone OS 3.1.3 for my iPod touch, and updated from 2.2.1 to 3.1.3. Now I have a question. If a serious problem occurs on my iPod touch after the update, and I am forced to restore it, will I nee
-
How to get a refund after in app purchase?
Hi everyone, I downloaded a app called flight box and I thought it would be useful so I decided to by the extras for it. But that was a mistake because it is the most useless app and not user friendly at all so I want to know if it would be possible
-
When I try to set the automatic time zone on my iPad wi-fi mini in Settings all I get is the "waiting" wheel constantly turning. The only way to set the time is in the manual mode. How to solve this problem? Thanks!
-
Network drive..... business hub.
I take it a network drive will work OK plugged into a business hub, eg. Compare SEAGATE FreeAgent GoFlex Network Hard Drive - 2TB, Black Ethernet