Copy value from child case to Parent case,there was an error - pega

Actually i want to copy values from child case to Parent Case, i have add smart shape called "Update Case",But there was an error during the sub case process,
"com.pega.pegarules.pub.generator.UnresolvedAssemblyError: Failed to find instance CTC-FW-CeylonTrFW-Work-VehiclePolicy.UpdateParentCase",
parent case is : CTC-FW-CeylonTrFW-Work-VehiclePolicy
Child Case is : CTC-FW-CeylonTrFW-Work-AssessVehicle
Here Attached with screen shoots
Could you please help me to solve this issueenter image description here

The error is very clear.
Your UpdateParentCase should be present in parent class CTC-FW-CeylonTrFW-Work-VehiclePolicy.

Related

Problems in Unity2D Unity:NullReferenceException: Object reference not set to an instance of an object

i have problem in Unity:NullReferenceException: Object reference not set to an instance of an object
Collectable.OnCollide (UnityEngine.Collider2D coll) (at Assets/Scripts/Collectable.cs:10)
Collidable.Update () (at Assets/Scripts/Collidable.cs:24)
In these scripts (Collectable and Collidable) I indicated that if the player approaches an object, then that object will change. Please help me.
This scripts:
enter image description here enter image description here
Maybe your script can't find the player try adding a tag to the player and then on line 10 :
if (coll.gameObject.CompareTag("tagName")){}

Container 'x' was not found

Does anybody work with Tosca (module) and has the same error in testcase: Container 'x' was not found?
The attr is already adapted: XPath-> correct; Visible=true; ClassName -> correct.
What should be done, that the tosca can find this container?
thank you
it could be a maintenance error, i.e. certain container does not exist anymore or
you should re-scan new one. I'm using e.g. selector data-tosca instead of xpath

Ignition 7.8 – Get Component Text From Text Area Within Container Via Scripting

A Button with scripting is saving Component values to parameters for a SQL update. The calling button is one level above the Container that holds the Text Area. However, the set for the Text Area value using the recommended User Manual method is throwing the error “AttributeError: 'NoneType' object has no attribute 'text' “
Standard form not working:
Comments = event.source.parent.getComponent('textArea1).text
Also tried different attributes at the end of the call:
… .string , … .value , … .stringvalue
event.source.parent.parent.getComponent('textArea1).text
When looking at the Property Binding path on the Component, I am able to return “Root Container. ContainerName.textArea1.text”. When I modified to be a GetProperty pull like below, I received a similar error mixed with an add on of Selected Property Not Found. I tried similar alternatives to those listed above.
Comments = event.source.parent.ContainerName.getComponent('textArea1).text
Any suggestions?
The solution is to call the Container component by name using the ‘.getComponent’ method and then call the Text Area using the standard method. The combined code is below for setting to the Parameter Comments.
Comments = event.source.parent.parent.getComponent('ContainerName').getComponent('TextArea1').text
Retrieving a Component value from within a Container does not appear to be covered in the Ignition Manual.

Get direct childs of the node in neo4j

i am trying to get the direct child of parents, this is the query i have used (Scenario: File system in which a folder contains other folder)
MATCH (n:Folder) WHERE ID(n)=${req.query.id}
OPTIONAL MATCH (b:Folder)<-[r:CONTAINS*0..]-(n:Folder)
return{parent:n.name,child : {name :collect(b)}}
but im getting all the children either direct or indirect childrens, whereas i need only the direct children
i need to get only b4,inner1, and inner2 as direct child, but im getting inner3 also using this query.
managed to get this working with this query
MATCH (n:Folder)-[:CONTAINS]->(childs:Folder)
WHERE id(n) = 24
RETURN childs

Restcomm ClassCastException during creating SBB child relation

I'm trying to create SBB child on Restcomm, most of the times I encounter this exception:
java.lang.ClassCastException:
com.edafa.slee.http.sbb.api.HttpSbbLocalObjectImpl cannot be cast to
com.edafa.slee.http.sbb.api.HttpSbbLocalObject
Where HttpSbbLocalObject is the sbb-local-object of the child SBB
Kindly find some useful information which may help you to answer me:
HttpSbbLocalObject in a separate library named http-sbb-api-lib
this is the library-ref in the child sbb-jar.xml:
<library-ref>
<library-name>http-sbb-api-lib</library-name>
<library-vendor>Edafa</library-vendor>
<library-version>1.0.3-SNAPSHOT</library-version>
</library-ref>
this is the sbb-local-interface declaration in the child sbb-jar.xml:
<sbb-local-interface>
<sbb-local-interface-name>
com.edafa.slee.http.sbb.api.HttpSbbLocalObject
</sbb-local-interface-name>
</sbb-local-interface>
this is the library-ref in the parent sbb-jar.xml:
<library-ref>
<library-name>http-sbb-api-lib</library-name>
<library-vendor>Edafa</library-vendor>
<library-version>1.0.3-SNAPSHOT</library-version>
</library-ref>
this is the sbb-ref in the parent sbb-jar.xml:
<sbb-ref>
<sbb-name>http-sbb</sbb-name>
<sbb-vendor>Edafa</sbb-vendor>
<sbb-version>2.0.0-SNAPSHOT</sbb-version>
<sbb-alias>http-sbb-child</sbb-alias>
</sbb-ref>
this is the child-relation-method in the parent sbb-jar.xml:
<get-child-relation-method>
<sbb-alias-ref>http-sbb-child</sbb-alias-ref>
<get-child-relation-method-name>
getHttpActorLocalObject
</get-child-relation-method-name>
<default-priority>0</default-priority>
</get-child-relation-method>
this is the child-relation-method-declaration in the parent SBB:
public abstract ChildRelation getHttpActorLocalObject();
this is the child creation in parent:
httpSbbLocalObject=(HttpSbbLocalObject) getHttpActorLocalObject().create();
on the above point the exception happened
"java.lang.ClassCastException: com.edafa.slee.http.sbb.api.HttpSbbLocalObjectImpl cannot be cast to com.edafa.slee.http.sbb.api.HttpSbbLocalObject"
I tried many trials to solve this problem but unfortunately there's no useful result.
Kindly find some useful notes which you must consider:
HttpSbbLocalObject is the sbb-local-object of the child SBB
this problem happen on runtime not on deployment
sometimes the SBB child created successfully by redeploying all the DUs
I tried the same DUs successfully on Opencloud-Rhino without any issue
I use restcomm-slee-7.2.0-158.76-wildfly-10.1.0.Final
Please I need any useful piece of advice which help me to solve this exception

Resources