OTL Workflow changes
Hi there,
I am doing some work on OTL and have a requirement where timesheets submitted by a manager are auto approved and timesheets which are submitted by a timekeeper are also auto approved. Obviously this can be achieved through workflow customization but can this also be achieved through fast formulas. I would expect that it can but I am finding the information very thin on approvals fast formulas. I am not seeing any inputs which would allow me to pick up which responsibility is submitting the transaction (manager, TK etc.)
Any help, advice or documents would be very very appreciated.
Many Thanks
Neil
H Amarnath,
Suppose,our objective is, if the Time Keeper user the responsibility id like ‘1234’ to create a card, the card should automatically approve. Otherwise it should go to the normal approval process.
1)
For that we have just created a function Like, 'xx_otk_res' with defination like 'fnd_global.resp_id'.(Data Type: Number,Class:External Function).
Added with two parameters like resource_id (number, Input only) & submission_date (text, Input Only).
2)
Then we created the formula like xx_time_keeper_auto_approval with text like Below,
----------------------Start of Formula Text--------------------------------------
default for resource_id is -1
default for submission_date is ' ‘
INPUTS ARE resource_id (number),
submission_date (text)
IF (cgdm_otk_resp(resource_id,submission_date)=1234 ) then
TO_APPROVE = 'Y'
ELSE
TO_APPROVE = 'N'
RETURN TO_APPROVE
----------------------End of Formula Text--------------------------------------
But while saving, I’m getting error like,
APP-FF-33980: Internal Error.
A compilation error has been detected while attempting to generate package FFP341_02022012
Please consult your system administrator.
Can you please guide me on this/requirement ?
Just to inform,with my earlier approach, i tried with comparing the user_id of person who submits and the user id of the person linked to resourceid,(through a simple custom database function).But it also didn't work.
So,seriously I'm missing something.
It is really very urgent for us.
Please help me at your earliest.
Thank you,
-Sai
Similar Messages
-
Hi All
I have a requirement to customise the OTL Workflows for Employees, what I need to do is change the workflow to send notifications to the task manager in a project. If the task has no Task Manager then the notification must go to the project manager. I am new to workflow, I just to find which process actually groups the time card entries so I can be able to manipulate that process into splitting on task Level not notproject level.
Please any info will be greatly appreciated
DumisaniDenise,
Based on the profile value, (If it is set to yes), it will always go into 'Deferred status' and then when you run 'WF background process' for OTL workflow for
employees, it will get picked up.
Sometimes, the time that the WF sits in Deferred status may be longer and even WF background process will NOT pick them up (during that time)
and one quick solution to bounce the DB(yes, database),
Hope this helps.
Thanks
arul -
Customizing Standard OTL workflow notification.
Hi All,
We have requirement to customize the Time details in OTL workflow modifications. Updated details of time card should be
displayed in different colour. Notifications are being rendered dynamically. So unable to c ustomize the notification details.
Could you please let us know if any one has done the customizations on Oracle provided Workflow notification in OTL.
Thanks
VishnuHi,
You can do it via personalizations if the fields are in the VO's Query.
Thanks,
Gaurav -
OTL Workflow for Employees starting in Deferred Status
Suddenly the OTL Workflows for Employees went to Deferred status. It was necessary to manually start each one. I have checked all other worklfows and they are fine. Only the Timecard Approval does not start. We have stopped and restarted the concurrent managers as well as bounced the Apache server. Nothing is kick strating this workflow process.
Any ideas would be appreciated.Denise,
Based on the profile value, (If it is set to yes), it will always go into 'Deferred status' and then when you run 'WF background process' for OTL workflow for
employees, it will get picked up.
Sometimes, the time that the WF sits in Deferred status may be longer and even WF background process will NOT pick them up (during that time)
and one quick solution to bounce the DB(yes, database),
Hope this helps.
Thanks
arul -
Is there a way we can audit the workflow changes made by the users.
We are giving the workflow web aministration responsibility to few users.i want to create a report to track when these users makes changes(like approving,rejecting or editing) to the other users Iexpenses or iprocurements.
Are there any tables to track these changes.is there any standard oracle report to track these changes.
Thanks in advance.Just one sidenote:
<old_value>[clob here]</old_value>
Depending on what could be insider the clob, you might consider using a CDATA section <old_value>[<![CDATA[clob here]]></old_value>
http://en.wikipedia.org/wiki/CDATA
For you question, I would strongly consider option 1). For the audit trail I would leave out all clob data, maybe only show that something was changed there. -
Hello!
My project worked OK with TP3, but now I have problems with TP4.
It seems that wildcard navigation is configured from adfc-config.xml only and ignores wildcards from other workflow definition files. Any hints?
Best Regards
AndreySorry. I have two wild cards: one in adfc-config.xml and one in unbound my-task-flow.xml
In TP3 the last both worked OK. In TP4 the second one doesn't work anymore and I have some navigation broken now. If someone can provide me with a link for the workflow changes description in TP4, please let me know. I found nothing about my problem in release notes.
Andrey -
SRM 7.0 Process Controlled Workflow change
Hi
I have a SRM 7 process controlled Shopping cart workflow working ok, Approval based on value levels. The customer wouldlike to change this so that approval is also based on cost center attributes and also want at each approval level to have a reviewer.
Could anyone advise me how to add in a reviewer, as well as an approver for a particular process step, and also confirm that to have the cost center attribute taken account of at each process step, i would have to develop and code a new expression / evaluation ID, rather than use existing one.
Many Thanks
johnHi John,
Reviews are common for all process level.. itu2019s not process level specify like approvers.. Also we can add reviewers dynamically by a simple BADI implementation and configurations as follows..
BADI Implementation:
BADI : /SAPSRM/BD_WF_RESP_RESOLVER
Enhancement Spot: /SAPSRM/BD_WF_AGENTS
BADI Definition : /SAPSRM/BD_WF_REVIEWER_RULE
Configuration:
We can see Reviewer folder for all process schemas..
For adding approver or pool of approvers for a particular process level, review my answer in the following forum.. Re: SRM 7.0 SP05 - BRF Item level approval does not work
Thanks!!
Bharath -
Sharepoint Workflow - change URL Path for inside and mobile device email access
I have a workflow that work perfect when accessing from a desktop. An email is sent with a link to the item,
[%Workflow Context:Current Item URL%]. The real address is http://sql/layouts/.......
When the user tries to click on the link in the email from a mobile device, it doesn't work.
If I change the mobile device to http://50.xx.xxx.xxx/layouts... it works fine! (50.xx.xxx.xxx is the port open on our firewall to access SharePoint)
How can I add a separate link in my workflow email so that users can access the SharePoint task list item from a mobile device?
I was thinking of having a link for the inside, http://sql... and a link for the mobile device, http://50.xxx.xxx.xxx/...
Thank you!List item URLs are basically a URL to the list item using the item Id. In this case 159 is the item id. The URL represents a downloadable resource like a file in a document library. However in a document library you would get the name of the file plus
it's extension. For example Contract.pdf. The .000 represents the file extension for the list item URL. If you typed in your URL in the browser to servername/list name/159_.000 you would be prompted to save the file (list item). You can save it to your local
file system and it will be a file called 159_.000. However the file will be empty since a list item does not contain any binary content. You will have to some how modify the workflow to replace the servername/list name/159._000 to use servername/lists/list
name/dispform.aspx?id=159. This URL will display the view form for the list item.
Blog | SharePoint Field Notes Dev Tools |
SPFastDeploy | SPRemoteAPIExplorer -
Workflow changes - send reminder email on X - 1 days ... based on Molga
Hello Everyone,
I new to workflow and I came across a workflow scenario where I am confuse, that what should I do in order to make it work. Luckily we are running only one workflow in the system which is time off request, We copied standard workflow class u201CCL_PT_REQ_WF_ATTRIBSu201D to Z version and introduced some new method to send email to employees managers as well as employee and HR .
We also have something called workflow item cancel thing . Lets say if workflow is not approved by manger within X bossiness days it got cancel and employee has to submit the new time off request again. After doing a little bit research I came to know that there is standard job which checks and calculate the X days thing. Work flow is running fine from last 1 year.
Last week, we been asked to create reminder from X-1 day and sends to employee manager saying u201C This is a reminder and one day is left u201C .
I wanted to know how I can achieve that, I have to filter the employee by reading employeeu2019s molga as we want to do it for specific countries then I have to read employee manager which I can do using different FM and then I have to send email to employee's manager .
Like I said It should happen BEFORE x-1 business days when employee submits the time off u2026
Here what I am thinking , I can read table u201CSWWWIHEADu201D with field WI_TYPE = u2018Wu2019 . and pass work_id to FM " SWW_WI_CONTAINER_READ " and read the container like the INCLUDE MWS20000081HO01
CALL FUNCTION 'SWW_WI_CONTAINER_READ'
EXPORTING
wi_id = wi_id
READ_FOR_UPDATE = ' ' *
TABLES
wi_container = wi_container
EXCEPTIONS
container_does_not_exist = 1 "message from function
others = 99.
IF SY-SUBRC = 0.
SWC_GET_ELEMENT WI_CONTAINER 'ACTUALSTATE' ACTUALSTATE130100.
ELSE.
CLEAR ACTUALSTATE130100.
ENDIF.
IF ACTUALSTATE130100 = 'N'.
CALL TRANSACTION 'WS20000081M'.
LEAVE PROGRAM.
ENDIF.
From container I can read employee number and approver . Get molga via pernr and can filter the employee ..who ever submits the request system date u2013 4 .. I can send out the reminder email u2026
Is there any other way around or any other efficient way of doing that u2026 I hope you understand this thing is conditional u2026 As far as I am concern I new to workflow so please bear with me ..
Waiting
Khan
FYI- I have gone through several post which task about deadlines monitoring Etc .. using fork & wait blah blah .. but It didnu2019t get any clue where to start and how to start u2026Mike,
I think I am following you so for .. so here what I did ... I opened the "approve process" and slap in the same refer date/time in "Requested end date " with variables "&WFDATA.DEADLINEDATE&" "&WFDATA.DEADLINETIME&" with 1- DAY . I didnu2019t find this what it says in help " It is possible to specify a negative time interval. Negative time intervals should only be used in connection with an expression as a reference date/time. You then have the option of "backward deadlines"
Any way after that I changed action to "modeled" and say "outcome "reminder from UK " .
it creates a node with clock sign , now like you said , I can do many things here .. and I really need to do something for example , I need to check the employee if he/she is from UK , after that reads his/her manager and send an email to mangeru2019s outbox . UK gave us an email format which I have created in t-code SE60 - with Document Class "Dialog Text".
How to proceed further. Thanks for baby sitting me.
What I am thinking , I need to create a new activity as well as new method in my Zclass, in which I will check employee Molga i.e. U.K and I have to send out email based on my email text which I have created in SE61.
Iu2019m able to write code in existing method , being on the safe side I copied the existing workflow and made changes in to it . Now it comes to debugging part , Iu2019m able to find posts on SDN talks about workflow debugging . When I am entering time off request from ESS , and it is not stopping at external breakpoint , Also when I am looking at "PTARQ" to see submit WF items . It is showing me the old task "w90000012" which is original one and I copied it and my task is "w90000022" . What I have to do so when I submit time off request via ESS it calls my task . I created Task in PFTC . But nothing is happening . Please let me know what I am missing ..
I found the table for ESS leave request and able to see my task , Table name is "u2022 V_T554S_WEB"
But still waiting for answers the of above questions ...
Edited by: Saquib Khan on May 27, 2008 9:36 AM -
Workflow changing the status based some columns value
OOB workflow SP designer 2013
The workflow purpose is change the status columns from
COMPLETE to IN PROGRESS or from
IN PROGRESS to COMPLETE according some columns value.. And if the change is from
IN PROGRESS to COMPLETE
there will be change in some columns like
If alertSOP Date <= today then change the status (Columns value) from Complete to In Progress and send email to the manager (the manager email address is a column (Manager Email)
Else pause until the alert date=Today()
If the status (columns) = in progress send Remainder email every 10 days
If the status change from in progress to
Complete (BY MANAGER MANUALLY) then
last renewed Date =TODAY()
Valid to Review=TODAY() + 4 MONTH
Alert Date=today() + 5 month
and Due Date=today() + 6 months
AND START THE WORKFLOW AFTER UPDATING THIS COLUMNS FOR NEXT cycle
SharePoint List(http://server/site/..) LIST ITEMS
Department
Contractor
Division
Manager Email
Contractor last renewed Date
Contractor Valid to Review
Alert SOPReview
DueDate Review
Status
Workflow Status
ABC
JONAH
10
[email protected]
01/01/2014
05/06/2014
5/07/2014
5/08/2014
COMPLETE
paused
DEF
SMITH
20
[email protected]
01/01/2014
02/03/2014
2/28/2014
3/20/2014
INPROGRESS
INPROGRESS
Note:
The status is changed manually by manager from IN PROGRESS TO COMPLETE
The status from COMPLETE to IN PROGRESS is changed by event or Triggers (based the alert date)The First Part are coded as follow
(The workflow purpose is change the status columns from COMPLETE to IN
PROGRESS or fromIN PROGRESS to COMPLETE according
some columns value.. And if the change is from IN
PROGRESSto COMPLETE there
will be change in some columns like
If alertSOP Date <= today then change the status (Columns value) from Complete to In Progress and send email to the manager (the manager email address is a column (Manager Email)
Else pause until the alert date=Today()
If the status (columns) = in progress send
Reminder email every 10 days)
Note:
The first if Block work as expected
the second if block generate error.. Internal States Canceled
RequestorId: 3b262286-66e8-5f9f-09f8-3b09c5be0ebc. Details: System.ApplicationException: HTTP 400 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["1"],"SPClientServiceRequestDuration":["1997"],"SPRequestGuid":["3b262286-66e8-5f9f-09f8-3b09c5be0ebc"],"request-id":["3b262286-66e8-5f9f-09f8-3b09c5be0ebc"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
RequireReadOnly"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"Cache-Control":["max-age=0, private"],"Date":["Tue, 25 Mar 2014 21:25:35 GMT"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]} at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext
context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager
bookmarkManager, Location resultLocation) -
Workflow change to get cost responsible person
Need help from workflow experts.
One standard workflow 14000089 (One-Step Approval of Purchase Orders) is used to approve the PO.
It is going to Head of purchasing org all the time for approval.
The requirement is to change the workflow so that it will go to individual cost centre responsible person for each article rather than going to one person all the time.
Please help me what needs to be done.Hi Arun,
Check table DPR_ENTITY_LINK with:
- ENTITY_GUID = the task GUID
- RESPONSIBLE = 'X'
--> in PARTICIPANT_GUID, you get the concrete (resource) or abstract role (project role) that is responsible for the task.
BR
Matthias -
Hi,
i`m new to EBS. Please tell me the steps for following changes in the PO Approval workflow
1.Any new PO that gets processed / approved in the system needs to auto run the PO Print program (to generate the PDF copy of the PO) with the email function switched on.
2.PO Print program needs to be modified to auto email docuclass ([email protected]) always ( even if email option is switched off) and email both buyer and PM ( if email option is on). Email subject should contain PO# and revision#.
Thanks,Hi,
We are using an extended classic workflow . The workflow which has been customized to have 8 step of approvers at the max.
The agents are being identified based on the cost center assignment, for which the approvers have been maintained in a seperate HRMS system.( The cost center is linked to an org unit in HRMS where we derive the approvers).
There are some approvers that come into play depending on special criterias like EB attribute of the user.
Now the problem comes where there is an ad-hoc approval workflow also added to it which enables the user to add approvers manually but there is some problem in the agent transfer there. The step identified by the systm during runtime is not defined in the ad - hoc workflow also and hence the step shows no agent and it returns to the user who added the approver.
Kindly help as to what is the reason for the same and what can be done to rectify this.
With Regards,
Rajesh -
Hello Experts,
We have a workflow wherein 2 levels of approvals are needed. One level of approval is handled thru workflow mails/BSP.
After first level approval, using some logic I will find a value like 6 or 5. Which will be updated as trip status.
After that there is a Z program which will be used by admin to select the trips which has status 6 or 5. And then does the final approval.
In short
1. Manager approval. If approved step 2. Else exit.
2. Set trip status as 6 or 5 (decide using a logic and then set the status)
3. Wait for Admin app/rejection
4. Final approval in z program..
5. Control comes back to workflow(thru wait events), does some logic and sends a mail and stop
The problem I am facing here is step 2 triggers a change event (after status set) and ends the workflow .. (as the workflow is designed to end as soon as change event is triggered)
Very few times it works fine and waits in 3rd step ..
Please let me know how to handle this.
Thanks
MeenakshiHi,
Are you using wait for event step in your workflow that waits for the changed event. I guess this is happening because as soon as the first approver is done the trip status changes and change event is triggered. Try to use some logic over there and avoid triggering of this event if only the trip status is changed.
Hope it helps.
Regards,
Raj -
Workflow - Change description "Cancel and keep workitem in inbox"
Hi,
Can you please tell me whether we have a way to change the description of "Cancel and keep workitem in inbox" as "Cancel".
Thanks
AshuHi Ashu,
The text is coming from the Text symbol of standard include program LSWU2F10.
Text symbol number is 301.
Check for enhansement option to change the text symbol.
But this change will affect all your decision step workflow's.
Thanks,
Viji. -
CProjects 4.0 - Workflows - Change Documents
Dear Experts,
We are on cProjects 4.0. We were exploring "Workflows" in cProjects for "Change Documents". The configuration guide 'procedure' for this feature lists three steps. The first one being:
a. Overview (transaction SCDO)
Enter DPR_PROJECTS in the table.
Not quite able to make out what all ought we to do.
Please suggest / explain a little in detail. Steps (b) and (c) were ok to comperhend. Not (a).
Thanks and Regards,
Bittu.Hello Vivek,
Kindly check that have you configured RFC Destination.
Use transaction SWU3 , in that Maintain Runtime Enviornment activate 'Configure RFC Destination'.
I hope this will work for you.
Let me know if it helps.
Regards
Rahul Sharma
Maybe you are looking for
-
Graphics Server - CGI or OAS?
Is it possible to avoid using OAS when running Graphics Server? Both Forms-server and Reports-server may be run using separate services and enabled via CGI, but I haven't found any information about running Graphics Server "outside" the OAS (separate
-
Why is my mac showing a Super Nintendo-esque glitchy interface on login screen?
It makes my skin crawl. I am beginning to think that this Yosemite OS update was a mistake. This as well as other small interface glitches never happened before I downloaded the update, and I have had my Mac for about three years now. It comes right
-
I installed iOs7 on iPad 2 and now when i'm in iBooks and tap "store" i get a blank screen. Same thing in itunes, itunes u, app store, and a few other apps won't connect. Safari seems to be working fine.
-
System Update -- Cannot connect to proxy server - SOLVED
I'm on a ThinkPad T61 running Windows Vista. When I try to download from System Update, I always get the error message "Cannot connect to proxy server." I have tried connecting to the Internet directly via Ethernet rather than through a wireless rou
-
LIKE TO USE MENU TO START SUB VI
I CAN USE A BUTTON TO RUN A SUB PROGRAM (KEEPING THE MAIN AND SUB PROGRAM CYCLING). BUT WHEN I TRY TO OPEN A SUB PROGRAM USING A CUSTOM MENU CHOICE, EITHER THE MAIN PROGRAM STOPS CYCLING, BOTH STOP CYCLING, SOMETIMES IT WORKS THE FIRST TIME BUT NOT T