Hi unable to lookup exectue custom workflow
Hi,
I followed this link:-
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/oim/oim_11g/Custom_Approval_Process_for_Role_Assignment/custom_approval_process_for_role_request.htm#t1
but unable to create custom workflow in OIM
Error :-
<Feb 4, 2013 8:09:47 PM EST> <Error> <oracle.iam.request.impl> <IAM-2050126> <Invalid outcome com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.xlsoap.org/ws/2003/03/business-process/}selectionFailure}
messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
parts: {{
summary=<summary>XPath query string returns zero node.
The assign activity of the to node query is returning zero node.
Either the to node data or the xpath query in the to node was invalid.
According to BPEL4WS spec 1.1 section 14.3, verify the to node value at line number 287 in the BPEL source.
</summary>}
received from SOA for the request id 6.>
Edited by: user13133319 on 4 Feb, 2013 1:52 AM
What this error means is that the xml path from which you are trying to select the value is not filled in the payload and needs to be investigated. Look at your source at the line number it is showing in the error and also verify the payload as to why the value is null at that path.
-Bikash
Similar Messages
-
Reading values from lookup columns through custom workflow in SharePoint 2013
We are able to read the values of text, number columns through custom workflow (via coding) in SharePoint 2013. However, we are not able to read values from lookup columns. So, request anyone to provide help on this.
Thanks & regards,
AdityaHi,
According to your post, my understanding is that you want to read values from lookup columns through custom workflow in SharePoint 2013.
Since the workflow just doesn't get lookup fields, let's give it something static to work with instead. If we can capture the ID of the lookup field and store that as a static value in our list, the workflow can happily use that to look up our related.
For more information, you can refer to:
SharePoint 2013 Workflows and Lookup Columns
Thanks,
Linda Li
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]
Linda Li
TechNet Community Support -
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. -
Unable to open java custom form in R12 instance
Dear friends,
I am unable to open java custom form from front end.
Navigation as follows:
SYSTEM ADMINISTRATOR --> UM_SHIPPING --> ORDERS LOOKUP.
Can anyone please look into the issue please.
The error as follows:
Error page
you have encountered an unexpected error. please contact the system administrator for assistance.
Thanks,I am unable to open java custom form from front end.
Navigation as follows:
SYSTEM ADMINISTRATOR --> UM_SHIPPING --> ORDERS LOOKUP.Was this working before? If yes, any changes been done recently?
Did you follow the steps in (What Setup is Required to Create Custom JSP Pages to Run on the Ebusiness Suite 11i and R12+? [ID 884200.1])?
Can anyone please look into the issue please.
The error as follows:
Error page
you have encountered an unexpected error. please contact the system administrator for assistance.Please check Apache log files for details about the error. Please also check if any errors are reported in the database log file.
Thanks,
Hussein -
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 -
Custom Workflow for sending Remainder mail in MS CRM 2013/2015 online
Hi All,
We have a requirement to send a remainder email before 5 days,3 days and on the same day of the M/TC date in lead form. To achieve this we tried using Custom Workflow. Below is the logic tried but in the highlighted line
not able to retrieve the "M/TC date" value, this results in no output.
Kindly suggest where we are going wrong or a best approach to do this.
Parameters:
[RequiredArgument]
[Input("InputEntity")]
[ReferenceTarget("lead")]
public
InArgument<EntityReference>inputlead
{ get;
set; }
[Output("TaskCreated")]
[ReferenceTarget("task")]
public
OutArgument<EntityReference>
taskCreated { get;
set; }
code:
try
Entity lead
= (Entity)service.Retrieve("lead",
context.PrimaryEntityId, new ColumnSet(newString[]
{ "new_mtcdate" })); // (unable to
retrieve the mtcdate)
Guid leadId
= this.inputlead.Get(executionContext).Id;
if(lead.Contains("new_mtcdate"))
{ DateTime date
= DateTime.Now;
DateTime mtcdate
= (DateTime)lead["new_mtcdate"];
TimeSpan elapsed
= date.Subtract(mtcdate);
double days
= elapsed.TotalDays;
Entity task
= new Entity();
task.LogicalName = "task";
if (days
== 5)
{task["subject"]
= "Five days more for the Meeting";
task["regardingobjectid"]=new EntityReference("lead",leadId);
Guid taskId
= service.Create(task);
this.taskCreated.Set(executionContext,new EntityReference("task",
taskId));}
if (days
== 3)
{task["subject"]
= "Three days more for the Meeting";
task["regardingobjectid"]=new EntityReference("lead",leadId);
Guid taskId
= service.Create(task);
this.taskCreated.Set(executionContext,new EntityReference("task",
taskId));}
if (days
== 0)
{task["subject"]
= "Today you have Meeting";
task["regardingobjectid"]=new EntityReference("lead",leadId);
Guid taskId
= service.Create(task);
this.taskCreated.Set(executionContext,new EntityReference("task",
taskId));
Regards, Rekha.JHi,
Try with replacing
Entity lead = service.Retrieve("lead", context.PrimaryEntityId, new ColumnSet(new string[] { "new_mtcdate" }));
also make it confirm, you are getting EntityId.
Also check Link -
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 -
Webmehods unable to lookup IDOC in SAP
Hi
We have some IDOCS in SAP.
Webmethods is talking to SAP and looking up these IDOCS.
However it is unable to lookup all the IDOCS.
We are using ECC6 system.
On further observation we've observed that IDOCS with release 4.6 are lookedup by Webmethods but IDOCS with release 700 ae not looked up.
What is the reason for this?
This is the error message that Webmethods gets
[SAP.108.9351] WmSAP Adapter: Could not find IDoc "ORDERS05.ZGSLSITE_CO(700)
Rergards
DexterHI,
ORDERS05.ZGSLSITE_CO looks like a custom Messagetype.
Maybe you have the wrong Messagetype or reimport the Metadato for ORDERS05.ZGSLSITE_CO.
Regards,
Gordon -
Error- Unable to lookup in the system.
Dear All,
For my backend server I have created system object on portal.
Then I have made 1 transaction iview for the same system object.
In the preview of the iview it is showing me correct screen and its operations are also fine.
But when I am attaching that iview to ane role and attaching that role to any user and viewing that iview thru tht users login it is giving me an error
Portal Runtime Error
An exception occurred while processing a request for :
iView : N/A
Component Name : N/A
Unable to lookup System 'TEST'. Please check the system object and the alias..
See the details for the exception ID in the log file
Can anyone guide me in the above issue ?
Regards,
AdityaHi All,
While checking the permissions under SAP Authorizations it is giving me an error
classcom.sapportals.connector.connection.ConnectionFailed ExceptionConnection Failed: Nested Exception. Failed to get connection.
I have check all the parameters under connector property also
they are fine.
One more thing if this role I attched to administrator account it is working properly.But for normal user it is giving the run time error as mentioned above.
Please anyone help me out in this situation.
Regards,
Aditya -
Unable to populate the Custom Views on UI for the component BP_FACTSHEET
Hi All,
I am working on a requirement on Interaction Center 7.0 .In this i have enhanced the component BP_FACTSHEET and created new Custom views in it. But i am unable to bring those custom views on the UI. As, we know that in this component there is no concept of overview set also.
So, if anyone has faced the same problem please share your inputs.
Thanks in advance,
Thanks and Regards,
SharadHi Sarad,
First you have to enhance the component BP_FACTSHHET .After that configure ur coustom view in fachsheet id BP_ACCOUNT_FS in SPRO.After that go to component BSP_DLC_FS,where you have to configure the ur view in specfic tiles which is display in web ui for specific to business roll.here you can find the ur fachsheet id and custom view.this component is automatically call when you launch fachsheet in web ui for specific business partner under account tab.
Thanks
Vishwas Sahu -
Open url link in custom workflow. SharepPoint 2010
Hi, i created custom workflow in Visual studio 2010. I want my workflow opened page of the site. In workflow i using method - Process.strart("http:\\mysite\myform.aspx") try to open the page. But my workflow is completed after his the start.
Browser does not open the page i have. Can you please tell me how best to do to open up the site url in the workflow code. Thanks.I don't think you can. Workflows run in a background thread on the server, so even if you were able to open a web page it would open on the server, not the client.
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. -
Custom Workflow using Oracle Workflow in ContentDB
Hi,
Could we use custom workflow which is made using Oracle Workflow instead of BPEL.
Regards,
YulisarHaving registered custom workflows for Content DB via Enterprise Manager, potentially you can use any tool capable of dequeuing/enqueing messages from the IFS_BPEL_OUT/IFS_BPEL_IN advanced queues as part of a custom workflow process.
By default, we assume you are using Oracle BPEL PM with its Advanced Queue adapater to process the queue messages. However, there is nothing stopping using Oracle Workflow or any tool for that matter.
HOWEVER!!! Warning!!! There is a high probability that Content DB will drop the bundled Oracle Worflow installation in the near future. What this means, is that you should consider installing/configure/patching your own separate Oracle Workflow installation and not rely on the bundled Content DB solution which is used internally for Serial and Parallel Approval workflows.
thanks,
Matt. -
How do I add my Custom Workflow Activity to FIM 2010 R2 SP1 installed on Windows 2012 server?
Hellos.
I have tried and failed to add my custom.dll into the Windows Server 2012 GAC.
We have a version of FIM 2010 R2 Sp1 running on Windows Server 2008 R2 and that was no problem. There seemed to be a gacutil.exe present on the system which added my assembly.
I cannot find gacutil.exe on the Windows 2012 Server.
I have downloaded and installed Windows SDK for Windows 8. However, when I try the gacutil.exe /i <myCustom.dll> nothing seems to happen.
Are there any guidelines how to add custom workflow activities to FIM when installed on a Windows Server 2012 system?
TIA
*HHWell yes. It is fine when FIM is hosted on Windows Server 2008 R2.My difficulty is that I am using FIM 2010 R2 Sp1 and Windows Server 2012. No GACutility executable.
However, the problem has been resolved. Powershell can be used to modify the assemblies.
I opened a RunAs Administrator PS session. My assembly is in folder c:\Temp
Using Windows Explorer I browsed the folder c:\windows\assembly and noted the System.EnterpriseServices entries: version (2.0.0.0) and public key token (b03f5f7f11d50a3a)
(My version is 2.0.0.0 because when installing FIM and SharePoint 2013 the instructions I used suggested setting .Net version to be 2.0)
These powershell commands got me going...
PS C:\temp> [System.Reflection.Assembly]::Load("System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
GAC Version Location
True v4.0.30319 C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50...
PS C:\temp> $publish = New-Object System.EnterpriseServices.Internal.Publish
PS C:\temp> $publish.GacInstall("c:\temp\RunPowershellLibrary.dll")
PS C:\temp>
PS C:\temp>
PS C:\temp> iisreset
Amazingly I can see the assembly RunPowershellLibrary in my Windows 2012 GAC. :-)
Also, what is more cheering is that the custom activity actually works with FIM 2010 R2 Sp1. -
How to create a Language Branch using custom workflow?
Hi,
I’ve a requirement where I need to create a workflow process which will create a Language branch. i.e I wanted to achieve the functionality using custom workflow as given in the docs: https://dev.day.com/docs/en/cq/current/administering/multi_site_manager.html#Managing the Translation of your Language Branches
As per the OOTB functionality,
1. If the target page is not exist in the Language branch, it will copy the reference page to target path.
2. If the target page is already exists, it will not create a copy of the reference.
After the translation, if we make any changes in the reference page and activate the reference, then we have a button called 'Show side by Side' under Translation in the side kick which shows differences between reference page and translated page.
Example:
So, I would like know how we can achieve this in my custom workflow process. In my workflow process, I’m checking whether the page is existed in the target path or not. If not exist, I used page copy.
Eg: Page page = newPage.copy(originalPage,targetPath+"/"+originalPageName,null,true,true );
When I use above api, it just copies the page and it will not maintain any relation with reference page.
Any pointers would be more helpful.
Thanks
SivaHi,
I have a similar request to export the texts from one language and after the translation to import them to the new language, did you find any solution? My question is how can I add some steps into my workflow to validate the imported data -and if the user validate the texts then proceed with next step(in my case I import the text from a file and generate a form with values). I read the documentation from Adobe but I didn't find anything related to how we can add a workflow to a dynamically generated from(I don't use the CQ form component).
Can anybody help me with this?
Thx, Lorand -
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
Maybe you are looking for
-
How do I redownload itunes music files deleted from my harddrive?
My hard drive was damaged and now I've lost at least half of my purchased music. DO NOT LINK ME TO THE SUPPORT PAGE HERE ON APPLE!!!!! That method does not work for songs that are pre-iCloud and don't try to tell me otherwise! these songs are not
-
Error While Loggin in Solution Manager 3.2
Hello there!! I have HP-UX, Oracle 9i,Sol MAn 3.2 I have installed Sol Man3.2 on my Dev Server under instance SM1 and system number 00 now when i add this system on my SAP Logon and click on the logon button i get error as connection refused. details
-
Autofill feature in Itunes not working for my shuffle
I just updated to the newest Itunes version and no I can click the autofill button all day long, but it won't bring any music into the playlist. Nothing. The button is dead. Anyone else have this problem or have a solution?
-
Keynote not recognizing projector
Keynote 3 does not recognize my Epson projector. Using keynote 2 I merely plugged in and could show my slides with no difficulty. With Keynote 3 I get nothing but a blank screen. I have tried all the different Preferences settings. I get the same res
-
Hello. I have a Sony smarphone which is Xperia L (C2105). I used Sony Select and found the Xperia Themes i tried to install it but i can't. My question is: Why i can't install a theme? P.S: I selected "Xperia Tablet" board because there isn't "Xperia