AL BPM work items and tasks
Hi,
I am a newbie with AL BPM, and am trying to use it for a project. We are trying to manage breaks for incoming events. An event could have multiple breaks associated with it and would be assigned to a user to resolve.
One of the key requirements is that the user would see only a single work item per event in the Inbox, but would see the break tasks in the detailed screen associated with it.
Can I use the AL BPM work item/ task mechanism to do this? Is it possible to display work items alone in the inbox, if it has multiple tasks associated with it?
Thanks in advance,
AB
Hi,
If you'd like each individual person to execute the tasks, you might want to have a Split-N activity (now called "Multiple" in 10g) to create a work item instance for each person and assign it to that specific person using "participant.next" logic (inside the logic for the Split-N, you'd need to assign the specific participant using "next participant" logic to the specific work item instance).
Following the Split-N, you could do the multiple task thing several different ways.
1. Using a screenflow, you could have them accomplish the tasks in one sitting in the various screens that would be associated with the screenflow's flow of tasks. If you go this route, you might want to add "Save" button functionality so they could save their work and return to the screen where the left off when they come back.
2. If the tasks are done in a specific sequence, you could have a series of Interactive activties following the Split-N with different screenflows. If you go this route, be sure to make the predefined variable participant property called "sticky" set to true so the instance stays stuck to the same participant.
3. If the tasks could be done in any order, you could have a Split following the Split-N with each of the branches in the Split going to a different task. You'd want to make sure you've assigned the original participant as the next participant for each of the branches going to Interactive activities coming out of the Split activity.
Hope this helps,
Dan
Similar Messages
-
BPE crash - Trying to remove work item and SXMB_MONI message that caused it
Hi,
I have a file to IDOC scenario with BPE. We have had a large file that was picked up by XI in error, but the adapter engine did process the XML conversion successfully. This message was sent to the BPE but due to the message size, the BPE crashed. Currently the work flow that caused the crash is in started status in report RSWF_XI_SWPC - continue workflow after system crash. and we have a message in SXMB_MONI for this workflow that is still in status outbound to PE "message being sent". We would like to remove or cancel the workflow and the message in XI. I have searched around for the best way to do this in this situation but have not found anything. We cannot cancel the message in SXMB_MONI due to the status it is currently in. Can we:
1. stop and start BPM to resolve the issue or
2. some how change the status of the workflow to error so the message in SXMB_MONI can be cancelled.
3. Should we just leave the work item and messge as is, because it is not affecting anything else in XI.
Any help would be apprecieated.
thanks.
Jamie
Edited by: Jamie Bullen on Jan 22, 2008 4:04 PMHi,
Thanks for your reply. I'm pretty sure I can delete the work item from SWWL but I don't think the outbound status of the message is SXMB_MONI will change once this is done.
thanks.
Jamie -
Work item 000000001881: Work item or task TS20000797 locked for execution
Hello Gurus I need your help, I'm trying to configure a WF for ECM (Engineering Change Management) but I can't do this work at all it give this error and I don't know what to do... any suggestion?
Work item 000000001881: Work item or task TS20000797 locked for execution
Thanks in advanceHi,
I'm trying to configure a WF for ECM (Engineering Change Management)
While testing you're getting this error right.
Check using the Same Object key are you testing in another session.
Regards,
Surjith -
One of the user is unable to remove obsolete Tags from new work items and search query
Hi I am new to TFS Administration, User has some obsolete Tags in TFS site which is removed on the Backlogs but user can see those tags when he is creating new work items and while querying the Work Items but he is not able to see any obsolete tags in Backlogs.
TFS version: TFS 2013 SP2
Steps followed:
we queried each tags, we see 0 work items associated with the tags
As per MSDN, we have to remove associated tags which automatically removes the Tags after 3 days
The user is facing the same from past week
Am i missing something? or will the list of Tags be available in new work items and querying WITs? Please help
Thanks in AdvanceHi BE,
I tested this scenario in my TFS 2013 Update 4 Server, and found that Tags will disappear from Tags dropdown list automatically after serverl days, if there’s no any work item associated that Tags.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Can I just add a state to bug work item and not set the state to the workflow
Hi,
Based on my team, we need to add a state/states to the bug work item, just add the bug state, and let it displayed in the state dropdown list. We don't want to add the state to the workflow. Can I do that?
Thanks,
shmilyHi shmily,
If you add a state for the bug in your work item definition file, you have to define the transition for the state. If not, when you change the state, the backlog page or task board will not display the work item correctly.
Please check the links below for more information about workflow design guidelines and customization for work item type:
http://msdn.microsoft.com/en-us/library/ms194981.aspx
http://msdn.microsoft.com/en-us/library/hh409273.aspx
Best regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Viewing ALL Open Work Items and Corresponding Approvers in System
Is there a workflow report in ECC that displays ALL open work items in the system at any given time and their approvers that need to take action?
Hi ,
SWIA - You can give a status of the workitem ( Ready , Inprocess ...........), workitem type (dialog....)
in the selection criteria and also the time then you can find all the open workitems.
And also you can check Header table SWWIHEAD it includes all the information related to workflows
but this is a lenghty process need to process object type and need to refer so many attributes.
best way is need to create one report make use of it. -
API to get Work Item and Attached Information
Dearl all,
Is there any API to get the work items assigned to specific users and their attached information during runtime?
Thanks, JeromeHI Jerome,
This code will help you: API FM is " 'SO_NEW_DOCUMENT_ATT_SEND_API1'
DATA : w_name TYPE sos04-l_adr_name.
SELECT-OPTIONS :
Recipient address
s_name FOR w_name DEFAULT sy-uname NO INTERVALS.
START-OF-SELECTION.
E-mail Abap report
PERFORM f_send_mail.
Form f_send_mail
FORM f_send_mail.
Data Declaration
DATA:
l_datum(10),
ls_docdata TYPE sodocchgi1,
lt_objpack TYPE TABLE OF sopcklsti1 WITH HEADER LINE,
lt_objhead TYPE TABLE OF solisti1 WITH HEADER LINE,
lt_objtxt TYPE TABLE OF solisti1 WITH HEADER LINE,
lt_objbin TYPE TABLE OF solisti1 WITH HEADER LINE,
lt_reclist TYPE TABLE OF somlreci1 WITH HEADER LINE,
lt_listobject TYPE TABLE OF abaplist WITH HEADER LINE,
l_tab_lines TYPE i,
l_att_type LIKE soodk-objtp.
WRITE sy-datum TO l_datum.
List of Users According to Logon Date and Password Change
NOTE: Create ALI/OTF Document in Spool
MESSAGE ID 'ZWF' TYPE 'I' NUMBER '001'.
SUBMIT ZMM_MIR_RPT_FOR_WORKFLOW VIA SELECTION-SCREEN WITH valid = 'X'
WITH notvalid = space
WITH unlocked = 'X'
WITH locked = space
EXPORTING LIST TO MEMORY AND RETURN.
IF sy-subrc = 0.
ENDIF.
MESSAGE ID 'ZWF' TYPE 'I' NUMBER '000'.
Read list from memory into table
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = lt_listobject
EXCEPTIONS
not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
Error in function module &1
MESSAGE ID '61' TYPE 'E' NUMBER '731'
WITH 'LIST_FROM_MEMORY'.
ENDIF.
IF sy-subrc = 0.
CALL FUNCTION 'WRITE_LIST'
TABLES
listobject = lt_listobject.
ENDIF.
IF sy-subrc = 0.
endif.
Because listobject is of size RAW(1000)
and objbin is of size CHAR(255) we make this table copy
CALL FUNCTION 'TABLE_COMPRESS'
TABLES
in = lt_listobject
out = lt_objbin
EXCEPTIONS
compress_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
Error in function module &1
MESSAGE ID '61' TYPE 'E' NUMBER '731'
WITH 'TABLE_COMPRESS'.
ENDIF.
NOTE: Creation of attachment is finished yet.
For your report, the attachment should be placed into table
objtxt for plain text or
objbin for binary content.
Now create the message and send the document.
Create Message Body
Title and Description
ls_docdata-obj_name = 'Outstanding MIR'.
CONCATENATE 'Outstanding MI-Report sent by' sy-uname l_datum "#EC *
INTO ls_docdata-obj_descr SEPARATED BY space.
Main Text
lt_objtxt = 'Outstanding MIR Report' &
'List of Outstanding Goods Receipts under inspection 103 movement'. "#EC *
APPEND lt_objtxt.
Write Packing List (Main)
DESCRIBE TABLE lt_objtxt LINES l_tab_lines.
READ TABLE lt_objtxt INDEX l_tab_lines.
ls_docdata-doc_size = ( l_tab_lines - 1 ) * 255 + STRLEN( lt_objtxt ).
lt_objpack-transf_bin = 1. " If u want to CLEAR inbox evrytime
lt_objpack-head_start = 1.
lt_objpack-head_num = 0.
lt_objpack-body_start = 1.
lt_objpack-body_num = l_tab_lines.
lt_objpack-doc_type = 'RAW'.
APPEND lt_objpack.
Create Message Attachment
Write Packing List (Attachment)
l_att_type = 'ALI'.
DESCRIBE TABLE lt_objbin LINES l_tab_lines.
READ TABLE lt_objbin INDEX l_tab_lines.
lt_objpack-doc_size = ( l_tab_lines - 1 ) * 255 + STRLEN( lt_objbin ).
lt_objpack-transf_bin = 'X'.
lt_objpack-head_start = 1.
lt_objpack-head_num = 0.
lt_objpack-body_start = 1.
lt_objpack-body_num = l_tab_lines.
lt_objpack-doc_type = l_att_type.
lt_objpack-obj_name = 'ATTACHMENT'.
lt_objpack-obj_descr = 'Outstanding MIR'. "#EC *
APPEND lt_objpack.
Create receiver list
LOOP AT s_name.
lt_reclist-receiver = s_name-low.
lt_reclist-rec_type = 'B'.
APPEND lt_reclist.
ENDLOOP.
Send Message
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = ls_docdata
put_in_outbox = ''
TABLES
packing_list = lt_objpack
object_header = lt_objhead
contents_bin = lt_objbin
contents_txt = lt_objtxt
receivers = lt_reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
IF sy-subrc = 0.
Document sent
MESSAGE ID 'ZWF' TYPE 'S' NUMBER '002'.
ELSE.
Document <&> could not be sent
MESSAGE ID 'SO' TYPE 'S' NUMBER '023'
WITH ls_docdata-obj_name.
ENDIF.
ENDFORM.
Thanks and Regards,
Prabhakar Dharmala -
Hi Experts
We have worklfow configured for Purchase requisition.
At creation of PR work item is generated. For not responding against work item, a reminder is generated for every day.
This reminder is a notification only (contains text item)
Is it possible to convert these notifications as work items? It menas from any of the reminder, user should be able to release PR.
Please advise.
Thanks and warm regards
ramSivaHi Marias,
Your requirement is to execute the WI in the outlook not in the SAP environment. Correct ?
Unforatunately it is not possible. At max. you can send the notification.
I have found in some threads that using DUETS you can achieve it, but you need to check the budget for that. Agian it is not advisable. Reason -> SAP system wont have any data of the approver (in the case where the agent/ approver does not have any SAP User ID)
Thanks,
Debi -
Identifying pending work items and sending emails to persons responsible.
Hi Experts ,
Can you please provide the database table where i can get the status of the work item along with the user/person responsible to act on that work item.
Basically the requirement is to send emails to outlook of employees having pending work items in their SAP inbox.
ThanksHi Kokate_Abhishek ,
Using this FM SAP_WAPI_CREATE_WORKLIST, you can get all workitems with status(STATUSTEXT,columname).
May be this will work for you. -
How do we define the state of Product Backlog item and Task?
Hi,
I am new to TFS Test management, can any one tell me when do we define state (New, Approved, Committed, Done and Removed ) for a Product Backlog Item?
When we define the state (To Do, Done, In Progress, Remove) for a Task?
Thanks.Hi,
You erroneously posted your question on the Project forum which is dedicated to the Microsoft scheduling and planning enterprise solution.
Please go to the following
TFS TechNet forum.
Hope this helps,
Guillaume Rouyre, MBA, MCP, MCTS | -
Forward Work Item And Restart Workflow
My problem is that:
Requester: John
Manager: Peter
John shops a SC. when the workitem comes in Peter´s Inbox, he decided to Forward this Shopping Cart to Jonh again.
In this moment Peter can change the shopping cart and he has the button "Save".
When he saves, the SC is automatically approved!!!!! I would like that when the shopping cart back to John the workflow must restart... It is possible?
Thanks!System checks workflow start condition. You can search information in the <a href="http://help.sap.com">http://help.sap.com</a> .
<a href="http://help.sap.com/saphelp_srm50/helpdata/en/37/830b3b7e7ef74de10000000a114084/frameset.htm">http://help.sap.com/saphelp_srm50/helpdata/en/37/830b3b7e7ef74de10000000a114084/frameset.htm</a>
Regards,
Masa -
Create One-to-Many Work Item Links Programmatically in TFS 2013
Hello,
I urgently require some help with this problem please.
I have a number of existing work item types - for illustration purposes, let's call them Work Item Parents and Work Item Children. Remaining details are as follows:
I have thousands of Work Items of type Parents
I have hundreds of Work Items of type Children
The Work Item Parents have a One to Many relationship with the Work Item Children
Both Work Item types have already been added to TFS and we now need to associate or link Parent items with their corresponding Child items.
Due to the sheer number of items described above, linking the Parent items with their respective Child items would be a complete "No-No" as it could take forever to complete and would be prone to error.
What I'm therefore seeking is the ability to programmatically associate or link the two work item types where required.
Any advice on how to achieve this would therefore be greatly appreciated.
Thank you.
PS: The link type between my work item types do not necessarily have to be of a Parent-Child relationship. "Related" work items will do just fine.Hi RegManteaw,
Thanks for your reply.
We can get the wanted Bug work items and Task work items using
WorkItemCollection, you should use the logic code to handle which Task work items linked to which Bug work item. For example, I defined 5 Bug work items within “b1” tag, and 10 Task work items within “t1” in my test
team project, then I run the below code snippet to get that Bug/Task work items and link 2 Task work items to one Bug work item.
TfsTeamProjectCollection tfs =
new
TfsTeamProjectCollection(new
Uri("collectionURL"));
tfs.EnsureAuthenticated();
WorkItemStore workitemstore = tfs.GetService<WorkItemStore>();
try
// get “b1” bug work items(5) from test team project
string wiql =
"SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = 'teamprojectname'
AND [System.WorkItemType] = 'Bug' AND
[System.Tags] CONTAINS 'b1'";
WorkItemCollection Bwic = workitemstore.Query(wiql);
// get “t1” task work items(10) from test team project
string wiql2 =
"SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = 'teamprojectname'
AND [System.WorkItemType] = 'Task' AND
[System.Tags] CONTAINS 't1'";
WorkItemCollection Twic = workitemstore.Query(wiql2);
//two task work items linked to one bug work item
for(int
i =0;i<=4;i++)
//define the link type
WorkItemLinkTypeEnd linkTypeEnd = workitemstore.WorkItemLinkTypes.LinkTypeEnds["Related"];
//link first task to bug
Bwic[i].Links.Add(new
RelatedLink(linkTypeEnd, Twic[(i * 2)].Id));
Bwic[i].Save();
//link second task to bug
Bwic[i].Links.Add(new
RelatedLink(linkTypeEnd, Twic[(i * 2 + 1)].Id));
Bwic[i].Save();
catch(Exception
e)
Console.WriteLine(e.Message);
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Obsolete and batch users can receive work items
Dear Experts,
Currently, we have found a problem that obsolete and batch users can receive work items by manual forwarding from someone. The roles and responsibilities of obsolete users were removed and users have been locked. For Batchuser, it's only created for some certain job with limited roles.
Could you help advise if this's a behavior of workflow or it's from some authorization problem? We have concern for business impact since no one is really handling work items and important messages are out of sight.
Thank you very much in advance.
Regards, KaeHello,
This is standard behaviour. It is even possible to send work items to users who do not yet exist (e.g. someone who is due to join the company).
The easiest way to workaround is to set up a substitution for any users that get locked and for background users. Personal substitutes can be maintained directly in table HRUS_D2, you could possibly write your own maintenance transaction for this if it is to be an ongoing issue.
Hope that helps,
Mike
Message was edited by:
Mike Pokraka -
SM58 Errors due to Work Item/Task
Hello,
we are getting a lot of sm58 error messages related to a workflow task TS00007989 (Error during outbound processing).
All the errors carry the same message "Work item 000000549001: Task TS00007989 locked for instantiation"
What could be the root cause of this issue? Is it possible to resolve this without deactivating the standard workflow task.Hi Mohan,
Its RFC error. Please check the workflow instance using T-code SWI2_DIAG to get details about this error. Also you can contact your BASIS Team for the same to check the connectivity of the system for which these IDOCS get triggered.
Also check the T-Code WE02 to get details about error in IDOC.
BR,
Prakash -
Parallel and Sequential Work items
Hi
what is parallel work item and sequential work item?what is the difference between these work items.
Regards
Pavanhi
good
check the below link, hope this would help you to solve your problem.
http://help.sap.com/saphelp_nw70/helpdata/en/3d/1784f17fec4d09bb4d3f82dda2a9d7/content.htm
thanks
mrutyun^
Maybe you are looking for
-
Importing photos from iphoto to adobe bridge
Ultimately I want to put all my photos on adobe bridge and use iphoto as a way to easily update my website. I did not know if there was a seamless way to properly take all of my photo files from iphoto and put them with adobe bridge. Sorry if I am no
-
Is it possible to view meta data settings on a recorded clip?
I have the Vixia HF G30 and am wondering if the aperture value and the shutter speed information is stored somewhere. I don't see this information when I load the clip into Finalcut X or when it's still in the recorder.
-
My CS4 has stopped working - help
I have CS 4 and when I try to launch any of the programmes it says "Licensing for this product has stopped working" It sites error number 148:3. Can any one help???/
-
I had an Excelsheet imported in siena. First column is Date (01/01/2011 for example) - second column is a Value. For each day i have one row and each new day i add one value. (Date and Value) In siena i would like to calculate a sum from the beginnin
-
What is included in 1.1.3?
I'm very unsure as to what features this update brings and what bugs it fixes. Does anyone have a complete list of updates or can anyone explain what updates are included? I would very much appreciate it. Thanks.