Customer workflow Issue
Hi Export,
I have a workflow for creation of indirect customer to direct customer .The indirect dummy customer has been created for sales org(xxx)and company code(111) and the same also created for another and submitted via Workflow to generate a real account. However, when the real account was generated through idocs and it it appears that the real account has been set up for another sales org(yyy) and company code(222). I am unable to see the workflow to find out why this could have happened.
Thanks in advance.
Regards,
Sourav
Hi Sourav,
Use TCODE SWIA to check the Workitem Log and to trace the Workflow do as below..
1) Start the Workflow trace using SWU8 tcode
2) Execute the Workflow
3) End the Workflow trace using SWU8 tcode
4) see the Workflow trace using SWU9
Hope this would help you.
Good luck
Narin
Similar Messages
-
Sharepoint 2013 custom workflow issue
Hi,
We are developing custom workflow in our sharepoint 2013 project using Visual studio 2013. We have got one issue while list item updation in custom workflow.
'Modified By' field is changed to System Account while updating item. It is not done with elevated privilege or not with user token.
Thanks in advance
Nithya K PillaiHi Nithya,
You can try powershell to change the Modified by -
http://gallery.technet.microsoft.com/projectserver/Update-SharePoint-list-4e6272ab
or before your update method get the user and update the modified by like the below-
Item["Editor"] = User;
Item.Update();
Alternatively try using listItem.SystemUpdate for not updating modified by values -
http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.splistitem.systemupdate(v=office.15).aspx
Hope this helps!
Ram - SharePoint Architect
Blog - SharePointDeveloper.in
Please vote or mark your question answered, if my reply helps you -
Customer workflow Issue(Infospace User)
Hi Export,
In ECC 6.0.
I have workflow for customer/vender creation. I got a work item in my inbox , it will show me Infospace User instead of Creator(Initiator). So my question is who is 'Infospace User'.
I am trying Analyze this issue through workflow log but didn't find Infospace User.
If any one can have idea about this issue, please give me a solution.
Thanks in Advance.
Regards,
SouravHi Martin,
Tx-> SWI1-> Log-> Details -> The same screen below it will show me
Agent Excuted Action Date Time Object Object Name
Infospace User Start event recived 09/08/2008 -
Thanks in advance.
Regards,
Sourav -
Need help in custom workflow issue
Hi All,
I have created role using API wf_directory.createadhocrole and sending notification to the respective persons, its working as expected.
But all the open notification are sent to the current user assigned to the role, also in wf_notifications table i a can see role name assigned to the Reciptent_role column instead of respective person not sure issue was caused due to this.
Please help to prevent open notification sent to the current user assigned to the role.
Thanks in advance
RajeshRajesh,
Not sure about what you meant with 'But all the open notification are sent to the current user assigned to the role'. That is the intended functionality.
If what you want to achieve is that every user receives the same notification content but in separate notifications to that each user response independently then you have to check the 'Expand Roles' when you define the notification in workflow builder. This way each user will get a notification with a different notification_id.
Regards,
Alejandro -
Hi,
I have registered and invoked Sample BPEL Workflow provided by ContentDB development kit. I can see message getting created in IFS_BPEL_OUT_TABLE and feching out. But I can not able to see any process getting generated in BPEL Console.
Have any one tried this or success apart from Matt.
Not sure what is wrong. I am following everything what Matt told to do in the Development Kit.
I will appreciate your help.
Regards,
JigarDid you resolve the deployment issue?
Also, have you seen the viewlet?
You could try creating a basic process from scratch based on the viewlet to ensure that the process gets correctly invoked from a Content DB queue message
http://www.oracle.com/technology/products/contentdb/dev/viewlet/index.html
The other thing to do is check the logs thorougly
tail_bpel_defaultdomain_log='cd $ORACLE_HOME/bpel/domains/default/logs; tail -f domain.log'
tail_bpel_hw_log='cd $ORACLE_HOME/j2ee/oc4j_soa/application-deployments/hw_services/oc4j_soa_default_group_1; tail -f application.log'
tail_bpel_oc4j_log='cd $ORACLE_HOME/j2ee/oc4j_soa/application-deployments/orabpel/oc4j_soa_default_group_1; tail -f application.log'
tail_bpel_system_log='cd $ORACLE_HOME/bpel/system/logs; tail -f orabpel.log'
tail_soa_opmn_log='cd $ORACLE_HOME/opmn/logs; tail -f oc4j_soa.log'
-Matt. -
Issue in a custom workflow with Approval Type Notification. Urgent
Hi
I have created a custom workflow which contains an approval notification.
If the user approves/rejects the notification I need to update a table column as Approved or Rejected.
I have created a function activity,say X, which calls a PL/SQL procedure.
The issue is,
when the user approves or rejects the notification, the function X errors out even without entering the PL/SQL procedure.
Following is the error message
An Error occurred in the following Workflow.
Item Type = XXYH_UMX
Item Key = 55
User Key =USERKEY:55
Error Name = -6502
Error Message = ORA-06502: PL/SQL: numeric or value error: character string buffer too small
Error Stack =
Wf_Engine_Util.Function_Call(XXYH_UMX_WF_PKG.is_resp_assigned, XXYH_UMX, 55, 242407, RUN)
Activity ID = 242407
Activity Label = XXYH_UMX_ASSIGN_RESPONSIBILITY:XXYH_UMX_RESP_ASSIGNED
Result Code = #EXCEPTION
Notification ID =
Assigned User =
If I go the function from any other function,say Y, (bypassing approval notification) it works fine.
Can you please help me what could be the issue?
Thanks,
Kamath.The danger in putting in one activity is that if there is any scope longer-term to expand the process to multiple activities, then it may be better to break it out into a sub-process early in the design phase.
Generally, you get the feeling from the client fairly early on about whether they have a final design and how likely they are to complicate the process later on :)
I wouldn't include it as a post notification function myself - it saves a tiny amount of processing time and database space, but at the cost of making it less clear what is happening. Plus you'd need to check the result in the PNF manually - putting it on a conditional branch ensures that you always know what the value is. If the lookup type changes at any stage, you would need to check a PNF to ensure that the code still remains valid; if it's on a branch then the only thing to change would be to change the label on the branch.
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://www.workflowfaq.com/blog ?
WorkflowFAQ support forum: http://forum.workflowfaq.com -
Issue with retrieveing the Manager of a System User in a Custom workflow - CRM 2013
Issues with custom workflow activity in CRM 2013 On-prem
I'm trying to pass the Manager of the System
here is the code that I'm running, it gets to setting the MANAGER and stops
I put the ran the FetchXML seperatly and it does return a value so I know what bit works
public class CaseAccountManagerManagersLookup : CodeActivity
// Inputs
[Input("Enter Case")]
[ReferenceTarget("incident")]
public InArgument<EntityReference> CA { get; set; }
// Outputs
[Output("Manager Output")]
[ReferenceTarget("systemuser")]
public OutArgument<EntityReference> AMOUT { get; set; }
protected override void Execute(CodeActivityContext executionContext)
// Context
IWorkflowContext context = executionContext.GetExtension<IWorkflowContext>();
IOrganizationServiceFactory serviceFactory = executionContext.GetExtension<IOrganizationServiceFactory>();
IOrganizationService service = serviceFactory.CreateOrganizationService(context.UserId);
//Create the tracing service
ITracingService tracingService = executionContext.GetExtension<ITracingService>();
// get the account and renewals manager ID's
var CASE = CA.Get<EntityReference>(executionContext);
tracingService.Trace("Case ID = " + CASE.Id);
try
// FETCH
string fetchXml = string.Format(@"
<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='false'>
<entity name='incident'>
<attribute name='title' />
<attribute name='incidentid' />
<order attribute='title' descending='false' />
<filter type='and'>
<condition attribute='incidentid' operator='eq' value='{0}' />
</filter>
<link-entity name='contact' from='contactid' to='customerid' alias='ak'>
<link-entity name='account' from='accountid' to='parentcustomerid' alias='al'>
<link-entity name='systemuser' from='systemuserid' to='bc_dssalesperson' alias='am'>
<attribute name='parentsystemuserid' />
</link-entity>
</link-entity>
</link-entity>
</entity>
</fetch>", CASE.Id);
EntityCollection case_results = service.RetrieveMultiple(new FetchExpression(fetchXml));
//tracingService.Trace("fetch has run");
if (case_results.Entities.Count != 0)
foreach (var a in case_results.Entities)
//if (a.Attributes.Contains("ai_parentsystemuserid"))
tracingService.Trace("set manager id next");
var MANAGERID = (EntityReference)a.Attributes["parentsystemuserid"];
tracingService.Trace("manager id set");
AMOUT.Set(executionContext, MANAGERID);
throw new InvalidOperationException("Want to see trace");
tracingService.Trace("end ");
catch (Exception e)
throw new InvalidPluginExecutionException("Plugin - CaseAccountManagerManagerLookup - " + e.Message);
finally
throw new InvalidOperationException("Want to see trace");
PeteHello,
Try to use am.parentsystemuserid instead of just parentsystemuserid.
Dynamics CRM MVP/ Technical Evangelist at
SlickData LLC
My blog -
Hi,
I have an issue with the customer workflow. as the user have an authorisation on XD02 but when the user double clicks on the workitem XD02 transaciton is not opens up. but manually user can go into the transaction XD02.
Can anybody suggest me whats wrong with theseHi,
when the user double clicks, wat appears, any message appears or is it removed from inbox, check the workflow log for the problem.
Regards,
JMB -
How to ignore the password policy in a custom workflow?
Hi,
We have a custom workflow which is called via SPML to provide 'Administrator Change Password' functionality in a portal.
Our password policy sets the String Quality rules and Number of Previous Passwords that Cannot be Reused. But we like to bypass the password policy when the password administrators (who have a admin role with a capability - 'Change Password Administrator'). At least, restriction ' Number of Previous Passwords that Cannot be Reused' need to be ignored (But password need to be added to the history... cannot disable adding passwords to history).
Please advice me how it could be achieved?
The workflow steps:
1. Checkout 'ChangeUserPassword' view for the user as an administrator
2. Set the new password in the view, set true to view.savePasswordHistory
3. Set password on the resources
4.Checkin the view
Thanks
SivaThanks eTech.
My main goal is to skip the password history check (new password can't be a last used 10 passwords) when admin change password workflow is launched. As you suggested , I created a special password policy exactly as our regular password policy excluding "Number of Previous Passwords that Cannot be Reused" setting.
Then before change the password of a user as admin, special policy is attached , password changed, and user's password policy is reverted back to regular one. The issue is, as the special policy does not enforce the password history check, the whole password history of the user is wiped out from the user object when the password is changed by admin change password workflow. We don't want this to happen.
Please guide me whether is anyway to achieve just ignoring the password history without any other impact on user.
Is adding passwords to user object's password history list is triggered by "Number of Previous Passwords that Cannot be Reused" setting of the password policy??
Thanks
Siva -
I have created an InfoPath form that submits to a Sharepoint library with custom workflow attached. The workflow is initiated when the user submits the form. An email is sent to the supervisor who clicks the "Encoded Absolute URL" and approved
the form via the emailed form. Then, based on certain criteria the form is either emailed to the VP or the workflow is complete. The VP is sent an email and clicks the "Encoded Absolute URL" and sumbits the form via the emailed form. This is
how I would like it to work. The reality is, the form submits and is emailed to the supervisor and the supervisor is able to approve but when the form is sumbitted I get an error. The error is "InfoPath cannot submit the form. An error occured while
this form was being submitted. The form cannot be submitted to the following location: <URL> The file <URL> is checked out for editing by <me> The operation completed successfully." The operation did not complete successfully and it
is not checked out. I have read in previous posts that the file is locked. Since I am in the testing faze of the project there is no one else using the form. I have waited 24 hours and the lock has not been released. Please help!!! My deadline is growing short.I ran into your post while having a similar issue. I don't have a 'full' fix for you, but I noticed at least in our case if you made sure you opened the Infopath form through the browser instead of the client Infopath program (use the drop-down menu
and open in browser) the error doesn't occur. Hope that helps some.... -
Need help in customizing workflow
Hi All,
Need your help in customizing APINVAPR workflow.
Please help in clarifying below point.
How APINVAPR is mapped to invoice approval process,for PO we use document type form to map the POAPPRV workflows when we customize we will map the custom workflow XXXPOAPPRV to make our workflow work.
Similarly how will we customize APINVAPR and map the workflow, pls let me know your thoughts.
My requirement is to customize the APINVAPR workflow and increase the escalation days, during the Invoice Approval Process/Escalate Document Approval activity escalation will happen in 5 days, i need to increase it by 60 days.
If anyone have worked in similar requirement, please help.
Also while downloading getting following error
While downloading workflow APINVAPR, getting below errors
Item type APINVAPR
wferr:
- 1300: Could not load.
- 1114: Could not load from database.
- 1115: Could not load all definitions referenced by 'APINVAPR' item type.
- 1115: Could not load contents of 'APINVAPR' item type.
- 1101: Could not load item types from database. FILTER=APINVAPR
- 210: Oracle Error: ORA-01480: trailing null missing from STR bind value. SQL text: SELECT protect_level, custom_level, name, display_name, description, wf_selector, read_role, write_role, execute_role, persistence_type, to_char(persistence_days) FROM wf_item_types_vl WHERE name like :itemtype ORDER BY name
But it was fine when i downlaod POAPPRV.
Any one face similar kind of issues, please help.
Thanks
BadshaHello,
I am also getting the same error.
WFLOAD apps/apps 0 Y DOWNLOAD file_name.wft INVADJTO
Item type INVADJTOwferr:
- 1300: Could not load.
- 1114: Could not load from database.
- 1115: Could not load all definitions referenced by 'INVADJTO' item type.
- 1115: Could not load contents of 'INVADJTO' item type.
- 1101: Could not load item types from database. FILTER=INVADJTO
- 210: Oracle Error: ORA-01480: trailing null missing from STR bind value. SQ L text: SELECT protect_level, custom_level, name, display_name, description, wf_selector, read_role, write_role, execute_role, persistence_type, t o_char(persistence_days) FROM wf_item_types_vl WHERE name like :itemtype ORDE R BY name
The item type exists in system. It is a seeded one.
Can anyone help on this !!!
Thanks -
Unable to register custom workflow activity on MS CRM 2015 Online
Hi All,
I am trying to register custom workflow activity using plugin registration tool on MS CRM 2015 Online.
Error says that 'No Plugin have been selected from list. Please select atleast one and try again'
In short my assembly is not considered as custom workflow activity.
I am giving my code let me know, If any thing is wrong.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Activities;
using Microsoft.Xrm.Sdk;
using Microsoft.Xrm.Sdk.Workflow;
namespace Training.SamplePlugin
public class SampleCustomworkflow : CodeActivity
[Input("Birthday")]
public InArgument<DateTime> BirthDate { get; set; }
[Output("NextBirthday")]
public OutArgument<DateTime> NextBirthDay { get; set; }
protected override void Execute(CodeActivityContext executionContext)
//Create the tracing service
ITracingService tracingService = executionContext.GetExtension<ITracingService>();
//Create the context
IWorkflowContext context = executionContext.GetExtension<IWorkflowContext>();
IOrganizationServiceFactory serviceFactory = executionContext.GetExtension<IOrganizationServiceFactory>();
IOrganizationService service = serviceFactory.CreateOrganizationService(context.UserId);
if (context.PrimaryEntityName.ToLowerInvariant() == "contact")
DateTime birthDate = BirthDate.Get<DateTime>(executionContext);
DateTime nextBirthDate = new DateTime(DateTime.Now.AddYears(1).Year, birthDate.Month, birthDate.Day);
//NextBirthDay.Set(executionContext, nextBirthDate);
Entity newContact = new Entity();
newContact.LogicalName = "contact";
newContact.Id = context.PrimaryEntityId;
newContact["new_nextbirthday"] = nextBirthDate;
service.Update(newContact);
If code is correct then has somebody faced this kind of issue earlier, what is resolution.
Thanks
ApurvHave your signed your assembly ??
Microsoft Dynamics CRM Training|Our Blog |
Follow US |
Our Facebook Page |
Microsoft Dynamics CRM 2011 Application Design
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question. -
Rejecting a request in Custom Workflow
Hi
I have a custom workflow at operational level for two level of approvals. Workflow is working fine and assigning the request to the correct role but when a user of that role is trying to Reject the request he is getting the error on the console. I can see the below error in logs:
*[soa_server1] [ERROR] [] [oracle.soa.services.workflow.task] [tid: [ACTIVE].ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: level1approver] [ecid: 5d5629f8c05bbdb0:-69d83486:13ccea452b7:-8000-00000000000147ea,1:30185] [APP: soa-infra] <.> Bulk update is not allowed for this Task.[[*
This task expects the user to view task details before acting on it.
Make sure that the task is approved/rejected from task details page. Also ensure that TaskService API which takes task Object as input is used instead of the API which takes taskID as input.
ORABPEL-30094
Bulk update is not allowed for this Task.
This task expects the user to view task details before acting on it.
Make sure that the task is approved/rejected from task details page. Also ensure that TaskService API which takes task Object as input is used instead of the API which takes taskID as input.
As per my understanding the error is trying to say that open the request details page and then reject but the other part of the issue is when i am trying to open the Request details page( by clicking on the approval pending task), OIM is opening a blank pop-up which does not show anything.
Just for the information, We have two Human task in our workflow.
Thanks in Advance
Edited by: iam37 on Feb 16, 2013 4:22 PMHi Durga
The second part is not my concern, what i am assuming is it can be the browser issue or some host issue.
But the issue is it is throwing the exception for rejecting the request at first level if we are not checking the task details. But at second level we are able to reject the request without even checking the details.
In my workflow, I have two Human tasks for two different level of approval. My thought is that using two Human task is creating this inconsistent behavior.
Please suggest.
Thanks -
How we can find the customized workflow in Oracle Apps 11.5.10.2
Hi all,
I am new to Oracle Workflow and I want to know, How many customized workflow is running in my oracle apps 11.5.10.2.
Thanks & Regards
Rakesh KumarAn another possibility is to do the opposite to what I just wrote. Upload the true definition to the database an compare with the one you are not sure about via SQL:
1. Backup the WFT file where the standard/seeded workflow is provided
2. Edit it and change the name of the ITEM_TYPE. For instance, change it from OEOL to OEOL_TMP (cannot exceed 8 characters)
3. Upload it to the database with WFLOAD
4. Compare the design tables for the two if them (WF_ITEM_TYPES, WF_ACTIVITIES, WF_MESSAGES, WF_PROCESS_ACTIVITIES, WF_ITEM_ATTRIBUTES, etc). If the table provides a VERSION column then the query would need to use a WHERE END_DATE is null (so that you get only the active/current version of the object). A select... MINUM select would do the job.
I would do this in test though, to avoid a mistake can cause any issues.
Regards,
Alejandro
Edited by: Alejandro Sosa on Feb 4, 2013 7:07 AM -
Custom Workflow - BPEL - delete registered policies
Hi all,
I am trying to set up a custom workflow with the Oracle Beehive Custom Workflow Tutorial.
After some difficulties I finally succeeded in deploying the BPEL-process. Only the integration with beehive does not (yet ;-)) work correctly.
I need to redeploy the policy, since I would like to change the triggering eventtype. My first trial was to just add the policy once again - but it failed with 'A policy with the same name already exists.' Now I was trying to delete the policy - but that failed with 'No entity found the the given bodn'. 'Beectl list_policies' does not show my policy.
How can I ever delete or lookup my registered policies?
Thanks for any help.
Regards,
BettinaHi Nickw..,
Sorry for the multiple repeated updates... it happened because of the slow internet connection
I am able to get the Worklist task now, but only for the CAPS lettered Users..!!
The Audit section in the BPEL Console for this process looks like:
<NAME>IFS_MESSAGE_SUBJECT</NAME>
<VALUE>Checkout Request 88731 submitted in Content Services</VALUE>
<DATATYPE>STRING</DATATYPE>
</PARAMETERLIST_ITEM>
<PARAMETERLIST_ITEM>
<NAME>IFS_REJECT_MSG</NAME>
<VALUE>Choose <B>No</B> to Reject the request.</VALUE>
<DATATYPE>STRING</DATATYPE>
</PARAMETERLIST_ITEM>
<PARAMETERLIST_ITEM>
<NAME>IFS_ECM_WORKFLOW_OWNER</NAME>
<VALUE>ORCLADMIN</VALUE>
<DATATYPE>STRING</DATATYPE>
</PARAMETERLIST_ITEM>
<PARAMETERLIST_ITEM>
<NAME>IFS_MESSAGE_HEADER</NAME>
<VALUE>A Checkout Request has been submitted in Content Services. You are listed as a responder for this request. Your response is requested. <BR><BR>Request Details:<BR><BR><B> Requester </B> : ORCLADMIN<BR><B> Responders </B> : PRASANT PRASANT1 <BR><BR> For complete request details click here</VALUE>
<DATATYPE>STRING</DATATYPE>
</PARAMETERLIST_ITEM>
<PARAMETERLIST_ITEM>
1. I am able to get the heading the IFS_MESSAGE_SUBJECT as Checkout Request 88731 submitted in Content Services
2. But nowhere i can find the IFS_MESSAGE_HEADER in the Worklist screen
the following:
For complete request details click here</VALUE>
Where will be the issue..?
Thanks in advance....
and best regards,
Prasant
Maybe you are looking for
-
I have been trying to install a piece of software on 2 Windows 7 PCS called Rightfax...during installing I get the error below; System.Exception: An error occurred during the Microsoft VSTO Tools 4.0 install (exit code was -2146762485). It the
-
HP P1505 laserjet printer suddenly printing everything in a huge font
Suddenly this printer is printing everything in a huge font - I've reset the printer, checked the default settings, etc. It does this in every program. I have over a hundred of these printers and have never seen this issue - any ideas?
-
How can I find out which vi's are dynamic?
I am working on a project made up of hundreds of VIs. I have to make an standalone executable version of it. I was not the original developer. Is there a way I can scan the vi's to find out which of them are dynamic? What should I be looking for as a
-
Iphone5 battery drained and wont open
I just bought the iphone 5 last year and it was so good everything runs so fine. Until i upgraded the software to IOS 7 , i started having problems on charging , battery drained too fast and it wont open anymore. The most irritating was when the batt
-
Hi, I was wondering if anyone knew if there was a client install for 10g reports. Basically I need to run rwclient from a server to submit reports jobs but was hoping to avoid installing the whole IDS10g install on the server. Thanks, Brian