CreateListItem Action at work flow not trigger Event reciever
Hello ,
I have two Lists (List1 , List2).
I have attached Workflow by SharePoint designer to List 1 .
I have attached event receiver (Item was added) to list 2 .
In the workflow . I use "CreateListItem" to create new item in list 2.
I have test the work flow . The item is added in List 2 , but the Event receiver not triggered .
if I Create new item in List2 from browser , the event receiver is triggered.
so why "CreateListItem" action not triggered event receiver ?
Thanks
ASk
Hi himo,
I made a test in my environment and when I start workflow in List1, then the event receiver in List2 is Triggered.
Here are my test steps:
1. Create a workflow for List1 in SharePoint Designer using CreateListItem action set the Title field to "Test" which is in List2.
2. Create an event receiver for List2 with the below code
public override void ItemAdded(SPItemEventProperties properties)
string siteUrl = "http://sp2013sps/sites/testdevsite";
ClientContext clientContext = new ClientContext(siteUrl);
List oList = clientContext.Web.Lists.GetByTitle("List2");
ListItem oListItem = oList.GetItemById(1);
oListItem["Title"] = "My Updated Title.";
oListItem.Update();
clientContext.ExecuteQuery();
base.ItemAdded(properties);
3. Deploy the event receiver.
4. When I execute the workflow in List1, then the title field in List2 will be updated to "My Updated Title". The event receiver has been triggered.
I suggest you recreate a new List and follow the steps to above to check whether it works.
Best Regards
Zhengyu Guo
TechNet Community Support
Similar Messages
-
Issue regarding [Work Flow] Business Object Event Raise in ABAP Program
Hi All,
I have one issue regarding [Work Flow] Business Object Event Raise in ABAP Program.
Actual TDS is as below:
If E message type written, raise Business object BUS2005 (Production order) Event PickShortage for production order passing warehouse, transfer request
(BUS2065 Object key) in event container. Also include table of text version of error
messages for this set of Transfer
Request.
Can anybody tell me how can i write it technically in ABAP Code.
Can anybody solve this issue!
Thanks in advance.
Thanks,
Deep.Hi,
Can anybody solve above posted issue!
Thanks,
Deep. -
Work flow in Traing & Event Mgt
I need to create a work flow in Traing & Event Mgt, ESS
Is there any standard way to creat work flow in T & E Mgt?
pls mailHi,
Wrokflows in HR :Training and Event Management
Regards
Bala -
Regarding [Work Flow] Business Object Event Raise in ABAP Program
Hi All,
I have one issue regarding [Work Flow] Business Object Event Raise in ABAP Program.
Actual TDS is as below:
If E message type written, raise Business object BUS2005 (Production order) Event PickShortage for production order passing warehouse, transfer request
(BUS2065 Object key) in event container. Also include table of text version of error
messages for this set of Transfer
Request.
Can anybody tell me how can i write it technically in ABAP Code.
Can anybody solve this issue!
Thanks in advance.
Thanks,
Deep.Hi,
Can anybody solve above posted issue!
Thanks,
Deep. -
Informatica work flow not connecting to integration service
Hi I am OBIEE admin, i am having the following error when i am trying to run workflow manually.
Informatica work flow not connectied to integration service,
Pls help me asapDo this:
Open Workflow manager or If it is already opened...then disconnect all the folders...
1. Click on the folder you want to connect
2. Go to 'Service' tab and select "Assign Integration Service"
3. This will open "Assign Integration Service" window from where you can choose the Integration Service and can assign the workflows or all workflows. Click "Assign" button to assign the selected Integration Service.
Now connect to the folder and you can run the workflows.
Hope this helps and please mark if it does. :) -
the pic butten on messages is not working. can not send or recieve photos. please help.
Hi Beharley,
try resetting your network settings: Settings - General - Reset - Reset Network Settings. This works fine if something is messed up with your carrier bundle.
Regards, Peter -
Event linakge for PO work flow not transporting to Qualty system
This is Sudhakar ,
I have a problem in Event linkage for PO Release strategy work flow.
I have created a work flow for PO release strategy and done the event linkage through SWETYPV transaction code.
I have added a new entry in SWETYPV transaction code and tick the 'Linkage Activated' check box. I have done this in development server. When I saved it prompted for a request and I have saved this Under the request( Customize request).
When I create the purchase Order for the first time the work flow is getting triggered. When I run the second time its not triggering.
If I observe the reason is 'Linkage Activated' check box is getting unchecked when I create the PO. If I check it again it is asking for a request again.But after next run the linkage is again deactivated.
Can you please help why this is happening.
I have created another request in Customize client and transported first the development client, next the customise client request. When I observe in quality system an entry is created in SWETYPV transaction code for my work flow but 'Linkage Activated' check box is not checked.
How to transport 'Linkage Activated' check box to quality.
This is an urgent one. Any body please help me
Thanks
SudhakarHi Imthiaz,
What you said is correct. Its throwing one error in event trace
Feedback after error - The message is.
The mandatory input parameters of the workflow must be set.
I think I am missing some input parameters.
One more queation, I had transported this already to Quality
But the linkage activation flag is not moved. What could be the reason.
Thanks
Sudhakar -
Event occured, Work flow didnt trigger
Hi,
I have created a new work with triggering event (of a standard BOR object). the event is occuring but the work flow is not getting started. the work flow is active and in implemented status. can anyone tell if something else has to be doen when a new work flow is created. Thanks!
Regards,
Bharath Mohan BHi Bharath,
First u chk in PFTC transaction to see triggering event is enabled or not .
then Go to SWETYPV t-code and enable event type linkage.
or check in SWELS t-code to on the event trace.
hope it gives some idea to sove ur prob, plz so please award some points
Regards,
Kali Pramod -
Oracle Work flow/e-Biz Events
Hi All,
Need some info regarding Oracle Workflow and E-Business Suite R12 events.
We have defined a business event in a E-Biz R12 and its subscription is of type ‘Launch Work Flow’ to launch a node(activity) of the work-flow. This activity is not the start node(activity) of the wf. Name of the activity is ‘Receive data’
‘Receive data’ is defined as an ‘receive-event’ type of activity. We’ll invoke the workflow from back-end, it will halt at the ‘Receive data’. When e-Biz event is raised, workflow will be resumed.
We’ll be running different instances of work-flow. So, how do I inform e-Biz event to resume a particular instance of work flow?
My assumption is:
Work-flow (wf) instances are distinguish based on item-key while e-Biz event takes event-key as an input parameter when it is raised. E-Biz event will match the event-key with item-key of workflow and resume the correct instance of wf. Is it correct?
All pointers are appreciated.
Thanks,
MK
Edited by: MK on Apr 12, 2012 11:18 PMSo to do this:
1. Create an activity in the WF process so that it is a event-receiving activity and specify the event name that will make it resume
2. Define the event and subscription in BES Studio. Create a subscription for the event so that it resumes/starts a workflow process
3. Raise the business event by specifying its EVENT_KEY as the WF process item type
When the BES gets the event it will identify the item type from the event subscription and will look for an activity waiting for an event and will resume that activity if the process item key corresponds to the event EVENT_KEY.
Regards -
Trouble shooting for work flow not getting triggered
Hi everyone,
I am doin a work flow for which the zfipp-> created event is the trigeering event.
I parked a document using FB03,but still the workflow is not geeting trigered.
I checked SWEL ,i see that the event is trigered.
Also whe i simulate the event using SWU0
I see that the workflow triggeres then.
Any advice where the problem could be..
regards,
AdityaHi,
Have u done the event linkaga?
If not goto SWE2 and do the event linkage.
Thanks and Regards -
"Select All" in tableview does not trigger event?
Hi,
I have a MULTISELECT table, and whenever I use the "Select all" or "Deselect all" feature, I don't seem to be able to capture the resulting event... Whenever I select one line, there's always a "tableView" event being triggered, allowing me to run the following code to recover the selected entries:
me->check_groups = table_event->GET_ROWS_SELECTED(
includeCurrentSelectedRow = 'X' ).
However, when I select all entries, there's not even an event being generated:
event = CL_HTMLB_MANAGER=>get_event( request ).
if event is not initial...
endif.
The above code fails; no event seem to be generated!!
Have I missed out on something; or is this a bug...? I would assume the built-in "select all" would trigger some kind of event... or do we have to check/program this manually?
Trondhi trond,
what i know is that for catching <b>request</b> u have to use <b>runtime</b> object.
so u may try this:
event = CL_HTMLB_MANAGER=>get_event( <b>runtime->server-></b>request ).
might be possible it will solve your problem.
Regards,
kamaljeet -
ICal in new work computer not showing events on home Mac or iPhone
HELP! Just got my new work computer (a MacBook) and I'm trying to get my iCal to sync from my Mobile Me account. I have set the preferences to sync iCal calendars and have synced several times. The events that I have already entered that are showing on my home MacBook Pro and my iPhone are still now showing on my new MacBook. Am I missing a step??
Let make sure I under stand: You have a home MacBook Pro and an iPhone, both of which are syncing. But your new Macbook at work/office will not sync.
You have gone to the Mobleme preferences on the new office MacBook, logged in, selected sync, Clicked the advanced tab and added the work Macbook to the list of Registered computers.
Then you went back and checked the "Synchronize with MobleMe" checkbox.
Choose "Manually" at this point. Then check what you want to sync, such as Calendars.
Now you go back and select "Advanced again."
Select your home computer from the list.
Click "Reset Sync Data"
Make sure the arrow is going from the cloud to the computer.
Click replace and it should put the data in the cloud (which is from your home computer) on the computer you have selected.
Let me know if this works out. -
Custom object in work flow not opening in CRM webclient ui
Hi,
I have designed a workflow in SAP Ecc 6.0 CRM.
There are some work items and a single custom popup screen in this workflow.
This popup screen is used to get data and pass to the subsequent workitem.
This screen opens in SAP CRM in the workflow inbox (SBWP) , and works as expected.
Also, mails are sent to the SAP user IDs of the concerned people through the workflow (as per process).
At this stage, we have done all settings reqd in SWU3.
However, when this entire workflow process is trigerred using the CRM WEBCLIENT UI, the following problems occur:
1) There are no mails received at any stage in the workflow inbox.
2) When the work item for the popup screen appears in the WebUI workflow inbox, and it is clicked, there is an error.
"Associated object cannot be opened. Contact your system administrator"
So, the customised pop-up does not open in this CRM WEBUI workflow inbox at all.
Question:
1) How do we ensure that the mails are received in the CRM WEBUI workflow inbox? Are there any settings to be done for that?
2) How can we make the custom popup open in the CRM WEBUI workflow inbox?
Regards,
SachinHi,
Please check IMG path.
The path CRM->Basic functions->Worklists->Define Alert Inbox and Workflow Inbox->Define Object-Specific Navigation
Input like
BOR Your_Object Your_Method BT_XXX OPEN
Hope it work.
Deripmav -
Custom object in work flow not opening in CRM webui
Hi,
I have designed a workflow in SAP Ecc 6.0 CRM.
There are some work items and a single custom popup screen in this workflow.
This popup screen is used to get data and pass to the subsequent workitem.
This screen opens in SAP CRM in the workflow inbox (SBWP) , and works as expected.
Also, mails are sent to the SAP user IDs of the concerned people through the workflow (as per process).
At this stage, we have done all settings reqd in SWU3.
However, when this entire workflow process is trigerred using the CRM WEBUI, the following problems occur:
1) There are no mails received at any stage in the workflow inbox.
2) When the work item for the popup screen appears in the WebUI workflow inbox, and it is clicked, there is an error.
"Associated object cannot be opened. Contact your system administrator"
So, the customised pop-up does not open in this CRM WEBUI workflow inbox at all.
Question:
1) How do we ensure that the mails are received in the CRM WEBUI workflow inbox? Are there any settings to be done for that?
2) How can we make the custom popup open in the CRM WEBUI workflow inbox?
Regards,
SachinHi,
Please check IMG path.
The path CRM->Basic functions->Worklists->Define Alert Inbox and Workflow Inbox->Define Object-Specific Navigation
Input like
BOR Your_Object Your_Method BT_XXX OPEN
Hope it work.
Deripmav -
Reg - Work flow not receive...
Gurus,
Workflow is working fine. 1 person only not receive the PR / PO's in workplace. The release strategies & Zwf_relcodes are ok.
Pls advise how to check...
RajeshHI,
How you are doing the agent assignment???
IF you are doing from the rule , check the rule in the debug mode , what users are getting appended in the agent tab internal table .
If you are doing with the role or org unit , check whether that user is assigned or not .
Maybe you are looking for
-
Jython error while updating a oracle table based on file count
Hi, i have jython procedure for counting counting records in a flat file Here is the code(took from odiexperts) modified and am getting errors, somebody take a look and let me know what is the sql exception in this code COMMAND on target: Jython Comm
-
How can I delete an image from a document?
It won't give me the option to delete.
-
How to ignore special characters in Logical SQL.
Hi Experts, I am using Logical SQL generated from BI Answers in dataset of BIP Data model. The column name or presentation table name contains special character as "&, %' So when I try to create dataset using suppose following Logical SQL, I am getti
-
Why won't VB ActiveX exe shutdown after using Automation close in Labview
I built an instrument driver in Visual Basic and created an ActiveX EXE server to call it from Labview (since I need to see a non-modal form (a progress bar showing time left to scan), I can't make it a dll). The problem I have is that when the progr
-
Creating a digital scrapbook slideshow
I am trying to create a digital "scrapbook", to be burned to DVD. I want to do it as a slideshow, but rather than only include photos I will be constructing slides in Appleworks...which might include captions, backgrounds, and other embellishments. M