Using Correlation in Initiator Task
Hi All,
I have a Manual BPM Process. At anypoint and time, to gain access to existing instance I'm using Event Sub-Process inside the same BPM Process.
To hook up with the right instance I'm using Correlation in Event Sub-Process. It's start node activity uses the correlation property.
Now the problem is, where do I initiate the correlation property, since the process is kicked of by the initiator. If I initiate correlation in the Human Task I'm receiving Correlation Violation Exception.
Please share your thoughts.
Two Cents,
Karthick
Hi,
I had faced the same problem earlier also. The solution is very simple. You have to create another correlation with same properties as the first one but with a different name. Now you will definitely be able to select the correlation.Select any one of the 2 correlations as they are doing the same tasks.
Hope it helps you buddy!!!!
Thanks
Biswajit
Similar Messages
-
Initiator Task not visible to other users in the Group
Hi
JDeveloper 11.1.1.6, WLS 10.3.6, BPM 11.1.1.6
I have a Process and the swimlane containing the Initiator Task is assigned to a Group.
All the users in the group are able to Initiate the Task.
But when the Task is initiated, the Task is assigned to the User specifically, but not to the Group. I guess this is the default behavior.
The Human Task Assignee - defaultPerformer for the Initiator Task is uneditable in the initiator.task file.
What I was expecting is that, since the Initiator swimlane is assigned to the Group, All the users in the Group should be able to see the Tasks initiated by anyone in the Group.
I want this behavior in the Initiator type of tasks specifically. (The normal Tasks other than Initiator tasks are working as expected.)
The reason why we want this is, let us say after the task is created, and before it is submitted, there is a lot of work to be done, for example, data entry, should be done by many people in the Group.
If all the users in the Group are able to see the Initiator Task, then it will help to share the responsibility of data entry among the users of the group.
I tried Reassigning the task to Group, and it works, but we am looking for something automatically assigning to the Group when the Process is created. (We may not be using the Oracle BPM Workspace at all).
Can anyone please tell us if there is a way to make the Initiator Task automatically assigned to the Group instead of just the user?
Thanks for any help
SameerHi Ashwini
Thanks for replying.
I did the same and it was working for me even if the Type is Single.
I just gave the Group name and all users were able to see the task. This is fine with me.
I just observed one more thing.
When the task is created, all the users in the Group are able to see it in 'Me & My Group'.
But the data entered by the creator is not seen by other users.
There is an action 'Save' in the Task. If the creator clicked on it, then the task is automatically 'Acquired' by the creator.
Other users in the group are able to see the task and the saved data, but are not able to Submit.
What I expected the Save button to do is only to Save the data in the Payload. Not Claim it.
Is there a way to make the payload data only to save but not to claim the task?
Thanks and Regards
Sameer -
How to set programatically set instructions for drafts of initial tasks?
Good afternoon,
The use-case is:
User logs into workbench;
Starts a process, fills in the form, and presses Save: this creates draft #1. Closes form;
Starts the same process, fills in the form with different data and presses Save: this creates draft #2. Closes form.
If the user now navigates to the Todo/Drafts, he will see two drafts with empty instructions. The goal is to have the task cards of the drafts of initial tasks containing a summary/outline of the data that the user filled in. This would allow the user to scan through his drafts and quickly select the desired draft.
Please note that this is completely different from defining, in the process, a default instruction: that would be a fixed value. Moreover, since initial tasks are not yet associated with a process, it is not possible to use process variable expansions using the {$$} syntax. As such, these instructions are *fixed* values, and not dynamically associated with the data.
The following attempts have been performed/evaluated:
Setting SwfConnetor.task.instructions
The .task property of the SwfConnector does have an instruction property. Furthermore, it is possible to change this value in Flex/AS and the workbench application does show the updated instruction. However, this value isn't saved: if we force a reload of the page, we see that the instruction has reverted to the initival value (ie, whatever was defined in the process definition).
<lc:SwfConnector id="lcConnector" />
private function taskInfoInst_onClick( event: MouseEvent ) : void
lcConnector.task.instructions = "Instructions from Flex";
The failed concept was that task.instructions would be set during the SwfConnector/@formSaveDataRequest callback.
Use of Java API
I could only see a setInstruction() method associated with the CreateTaskInfo class. This is not usable in the specific use case since we're not *creating* the task ourselves, we just want to update the instruction.
Is this possible? Have I overlooked some base functionality?Did you try using the TaskFormDataSaved event?
I hope this event will be triggered when the user saves the form. Though there is no process instance is created, a Task will be created with a unique Id and Process Instance Id will be 0.
Using Task manager APIs, you could further update the Instructions.
Nith -
Why can´t i have more than one initiator task on my bpm process
Hi All.
I am working with BPM 11g and would like to know:
Why can´t i have more than one initiator task on my bpm process
In this case, i will have two separeted process where each has its initiator task?
Regards,
DiovaniHi Diovani
Two different processes can have different task initiators...task initiator means creation of a process instance which can happen only once -
Top n Analysis using correlated subquery
Please explain this query. It is doing top n analysis using correlated subquery. I need explaination of execution of this query.
Select distinct a.sal
From emp a
where 1=(select count ( distinct b.sal) from emp b
where a.sal <=b.sal)
Thanks in advanceTry breaking the query down and rewriting it in order to follow the logic;
SQL> --
SQL> -- Start by getting each salary from emp along with a count of all salaries in emp
SQL> --
SQL> select a.sal,
(select count (distinct b.sal) from scott.emp b ) count_sal
from scott.emp a
order by 1 desc
SAL COUNT_SAL
5000 12
3000 12
3000 12
2975 12
2850 12
2450 12
1600 12
1500 12
1300 12
1250 12
1250 12
1100 12
950 12
800 12
14 rows selected.
SQL> --
SQL> --Add a condition to the count for only salaries below or equal to the current salarySQL> --
SQL> select a.sal,
(select count (distinct b.sal) from scott.emp b where a.sal <=b.sal) rank_sal
from scott.emp a
order by 1 desc
SAL RANK_SAL
5000 1
3000 2
3000 2
2975 3
2850 4
2450 5
1600 6
1500 7
1300 8
1250 9
1250 9
1100 10
950 11
800 12
14 rows selected.
SQL> --
SQL> -- Add a condition to only pick the nth highest salary
SQL> --
SQL> select a.sal,
(select count (distinct b.sal) from scott.emp b where a.sal <=b.sal) rank_sal
from scott.emp a
where (select count (distinct b.sal) from scott.emp b where a.sal <=b.sal) = 4
SAL RANK_SAL
2850 4
1 row selected.Hope this helps. -
In My Shared View the inbox tabs like My Tasks , Initiated Tasks are not being shown
In My Shared View the inbox tabs like My Tasks , Initiated Tasks are not being shown :
How to display the tabs in shared views also.
I just wanted to created one shared view that will look like Inbox but filter data for State = 'Completed'Please update me if you can find any way to achieve this in BPM workspace
-
How to automate the data load process using data load file & task Scheduler
Hi,
I am doing Automated Process to load the data in Hyperion Planning application with the help of data_Load.bat file & Task Scheduler.
I have created Data_Load.bat file but rest of the process i am unable complete.
So could you help me , how to automate the data load process using Data_load.bat file & task Scheduler or what are the rest of the file is require to achieve this.
ThanksTo follow up on your question are you using the maxl scripts for the dataload?
If so I have seen and issue within the batch (ex: load_data.bat) that if you do not have the full maxl script path with a batch when running it through event task scheduler the task will work but the log and/ or error file will not be created. Meaning the batch claims it ran from the task scheduler although it didn't do what you needed it to.
If you are using maxl use this as the batch
"essmsh C:\data\DataLoad.mxl" Or you can also use the full path for the maxl either way works. The only reason I would think that the maxl may then not work is if you do not have the batch updated to call on all the maxl PATH changes or if you need to update your environment variables to correct the essmsh command to work in a command prompt. -
Setting global variable to be used in a SQL task
I am trying to create a simple SSIS package to be used in the SQL Task
The SQLStatement is
Update dbo.Users
set FirstName = ?
where UserID = 2
Added a parameter mapping for User::strDataString
From the data manager dynamic script, I included following code to prompt for the value and set to the global variable and then call the excecute SQL task.
PROMPT(TEXT,%strData%,"Enter value",,"")
GLOBAL(@[User::strDataString],%strData%)
TASK(Execute SQL Task,,)
When the check the database, the table is getting updated only with the default value of the strDataString but not with the value entered in BPC.
Am I missing any link?
Thanks
Omkar
Edited by: yomkar on Mar 17, 2010 1:13 PMHello,
on which version of BPC are you running ?
Can you try to make all your SSIS variables upper case, it helped me on earlier versions of BPC.
Be aware too that if you have an instruction like GLOBAL(STR,some_value), BPC will do a string replacement within the MODIFYSCRIPT variable : "STR" -> "some_value".
for example :
GLOBAL(STR,some_value)
TASK(STR TSK,....) will be replaced by TASK(some_value, ....).
Vladimir. -
Correlation Problem: unable to Use Correlation and Activate correlation
Hello,
i have created correlation name in correlation list and assigned involved messages and assigned proper field in correlaton in properties .i am able to view my correlation name in the properties of both receive steps ,but when i assign it to use correlation and move cursor to activate correlation .value in use correlation is not holding the value and holding space ,the same is happening to activate correlation field.
I am using PI 7.1.
Please let me know if you have really overcome this issue.
Regards,
Vishal K
Edited by: vishal kharat on Aug 3, 2011 6:15 PMit seems there is no way.
See note 1797073
Is there someone with a better solution? -
Variable is used in description text Task description, but does not exist
Hi,
I am getting following error in the standard task 207914 ERMS_DECSN.
Workflow Error
Variable &REQREQ.REQUISITIONERUSER.ITSDESTINATIONSY& exists in description text Task description, but not in the container
Message no. 5W146
Diagnosis
Variable is used in description text Task description, but does not exist in the container.
System Response
The task could cause workflow errors.
Procedure
Correct description text Task description or add the variable to the container.
Can anybody please guide step by step process to correct this error.
Regards,
DeepakHi Deepak,
I face a similar issue,Task description contains an element which is available in container, but during Check, it throws below error.
Variable &ZINFO.REASON& exists in description text Task description, but not in the container
but variable "&ZINFO.REASON&" is not accessed in Task description.
suggest any ways to check the binding or adjust binding between workflow/task.
Please provide a solution to fix this error or advice if this error can be ignored? -
Papi WS Notifcation using Correlation
Hi,
is there any way to notify a process instance via Papi WS using correlations in just one call? I saw that there is an operation for sending a notification, but it seems to accept only the instance id. Of course, I can make beforehand a call to getInstanceByCorrelation to find out the instance id and then pass it to the notification operation, but is there a kind of combined operation to do that?
Thanks a lot and regards
MatthiasHello,
I have the same problem. My process has a Notification Wait exposed as a Web Service, but into the WSDL the method I would use to notify the process is described like this:
<xsd:element name="notify">
<xsd:complexType>
<xsd:sequence>
<xsd:element type="xsd:string" name="sessionId"/>
<xsd:element type="xsd:string" name="instanceId"/>
<xsd:element type="xsd:long" name="codeArg"/>
<xsd:element type="xsd:string" name="valueArg"/>
<xsd:element type="xsd:boolean" name="esitoArg"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
codeArg and valueArg are the arguments I used to create a Correlation with the process instance
esitoArg is an argument that my process would get from an external caller
I know that I can get the sessionId using the startSession method
but, considering that I'm using correlation, why does ALBPM ask for the instanceId ???
Any help will be much appreciated. -
Using correlation with asynch RFC - Please Help!
Hi !
We have this scenario:
1) receive asynch messageA
2) transform messageA to messageB
3) send ASYNCH RFC messageB
4) receive RFC messageC
5) switch condition based on messageC
5-ok branch) send messageA
5-err branch) throw exception
We have only 3 containers, they are all abstract interfaces: messageA, messageB and messageC.
We need to correlate steps 3) and 4), to match the returning messageC with the corresponding sent messageB.
Is it ok to complete "Activate Correlation" in Send step 3) and only "Use Correlation" in Receive step 4), both with the same "name" ??
how do we correlate different message types? (messageB <> messageC) do we need to use a container to correlate?
Thanks !
MatiasMatias,
You are right..u need to activate correlation step 3 and use it in step 4.
Correlation between diff msg types happens this way..
when you define a correlation...u've to defien the fields of the correlation, and the participating msg interfaces and how each msg interface populates/reads the correlation fields
eg.
Correlation Name: MatchPO
Definition:
PO_Number XSD simple Type xsd:string
Participating Interfaces:
MI_Purchase_Order
MI_Sales_Order
PO_Number = MI_Purchase_Order/Header/PONUM
PO_Number = MI_Sales_Order/Header/Sales/PONR
to define the correlation...u need to switch to correlation editor from process view in Integration Process editor
hope it is clear now..
praveen -
What is the use of general maintenance task list?
Hi expert,
I want know What is the use of general maintenance task list in SAP plant maintenance & how to use this step by step.
Regards,
Ram RathodeHi
A task list in PM is created to perform a specific repair or maintenance task. The task list consists of work operations and components needed to complete the job. Often a task list will be associated with a functional location or equipment, where not tied to a specific technical object it is known as a general task list.
Task lists can be assigned to a order, the operations/components are imported into the order. Task lists are also assigned to maintenance plans - once orders are generated from the plan the task list is transfered to the order.
-Paul
Please use [Enterprise Asset Management (EAM)|Enterprise Asset Management (SAP EAM); forum for PM/CS specific topics -
Using correlation names :new and :old in ODBC
Does anyone know how to use correlation names :new and :old through an ODBC connection?
EG:
CREATE TRIGGER Print_Cust_changes
BEFORE INSERT ON CUST_tab
FOR EACH ROW
BEGIN
dbms_output.put('Adding: ' || :new.custid);
END;
When I try to do that using ODBC, I get this error:
Server Msg: 24344, State: HY000, [Oracle][ODBC][Ora]
Trigger, procedure or function created with PL/SQL compilation error(s).
And if I try and Insert I get:
Server Msg: 4098, State: HY000, [Oracle][ODBC][Ora]
ORA-04098: trigger 'BCL.PRINT_CUST_CHANGES' is invalid and failed re-validation
The same code works perfectly in SQL*Plus.The plot thickens...
I just tried this code:
CREATE OR REPLACE TRIGGER Print_Cust_changes
BEFORE INSERT ON CUST_tab
FOR EACH ROW
BEGIN
INSERT INTO CUST_LOG VALUES('X');
END;
And received the same error:
Server Msg: 24344, State: HY000, [Oracle][ODBC][Ora]
Trigger, procedure or function created with PL/SQL compilation error(s).
Again, using the same code (Cut & Paste) in SQL*Plus, it works without any problems.
The ODBC function being used is: SQLExecuteDirect(), ODBC driver is SQLORA32.dll v9.02.00.00
CREATE TABLE, VIEW, INDEX etc, all work fine, but not a trigger. If I read the code back from ALL_TRIGGERS after using SQL*Plus or the console application to create the trigger, it is exactly the same code... -
Recieve Step -Use Correlation and Activate Correlation
Hi,
In Integration process-recieve step , Can any one Please explain what does the properties USE CORRELATION and ACTIVATE CORRELATION mean and where these should be defined?
Many Thanks,
SharathThese are if you are going to be receiving many message into the same IP.
By default an IP is created everytime a new message is received. If you don't want this to be the case you can specify a correlation which says that if message A contains 123 and if message B contains 123 in a sepcific field then they belong in the same IP.
you define these where you define your containers you just have to toggle between the two modes.
Maybe you are looking for
-
Ipod mini doesn't appear to be recognized by updater
i have been having trouble with my mini. whenever i connect it to my PC, the ipod screen goes directly to ok to disconnect. I have tried the latest updater available but even when i plug in the mini when asked by the popup, the application never seem
-
Item Description change at marketing Document
Hi experts , I have a typical scenario . Let me describe in detail . For example -- For Customer A - Item A is called as Apple For Cusotmer B - Item A is called as Banana Similarly Customer C......D,E...... And user need that information at marke
-
How to manually link Facebook profiles with people in my Contacts?
I have switched from 9900 Bold to z10 but I can't find the "link this contact to FB" option anywhere. I know that z10 will eventually link all Contacts with FB, but from what I have read "NOT ALL OF THEM" because some of them don't match the names on
-
Lightroom Photoshop CC problem
Files already processed in PS CC and reopened from LR 5 do not open in PS. What's more, once I try open files from LR, I am unable to open them directly inside PS any longer. Thank you, I am on a Mac running 10.9. This problem just started, though I
-
HT1976 My 4s keeps saying no service and nothing i do works... any ideas?
I tried everything! Hard rest reseting restoring turning off/on airplane mode turing it on and off everything!